Modified the number of bytes of data to be read for signature and version when
NO OOB option is enabled.
Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
Modified number of bytes to be read for bbt in oob and bbt with signature
and version for no oob option. This change is done kept in mind that it
should support flashes with small page size as well.
Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
For file system based devices, flash offset address
(location of image) should be independednt of multiboot
and should always be 0.
Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Setting BBT option at the beginning and checking afterwards to set
the offset for signature and version.
Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
Performing Read modify write operation for the interrupt status enable
and interrupt status register in readpage function instead of directly
writing to fix the masking error interrupts in case ecc enabled.
Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
If oob size is less than 64 bytes, ecc position should start from 0 position
of oob area, else should be at the end of the oob area.
Keeping ecc start position in alligned with the Linux nand base ecc layout.
Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
This patch modifies the code as per the opensource git changes and
updates the license information
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch modifies the code as per the opensource git changes and
updates the license information
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch modifies the code as per the opensource git changes and
updates the license information
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch modifies the code according to wendy's openamp changes
and also updates the license information
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch deletes the *.mss file and modified the tcl file
to prevent the error in SDK log when any other processor or OS
is selected in create application project GUI of SDK
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
QSPI HW doesn't actually care what the SPI mode is for the dummy phase
of flash commands. We have confirmed this with randomized testing.
However due to a core limitation of QEMU it is expected to match the
mode of the address phase for QEMU.
So since QEMU is the only platform that cares, set the dummy mode to
QEMUs expectation.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
QSPI HW doesn't actually care what the SPI mode is for the dummy phase
of flash commands. We have confirmed this with randomized testing.
However due to a core limitation of QEMU it is expected to match the
mode of the address phase for QEMU.
So since QEMU is the only platform that cares, set the dummy mode to
QEMUs expectation.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Provided support to pass handoff parameters to ATF
which it will use to load further partitions.
Provided support to load PMU firmware from FSBL.
Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
This patch modifies the eeprom page size to 32 for zynq ultrascale MP
in polled and interrupt examples.
Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
This patch modifies the baremetal code to include ipi related code.
It moves the baremetal specific platform API from platform.c to
baremetal.c. It also moves the platform specific information from
baremetal.h to platform.h. The patch also updates license information
in linker script
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch modifies the baremetal code to include ipi related code.
It moves the baremetal specific platform API from platform.c to
baremetal.c. It also moves the platform specific information from
baremetal.h to platform.h. The patch also updates license information
in linker script
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch modifies the baremetal code to include ipi related code.
It moves the baremetal specific platform API from platform.c to
baremetal.c. It also moves the platform specific information from
baremetal.h to platform.h. The patch also updates license information
in linker script
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch modifies the hil and virtqueue header files to keep the
declaration after license information. It also modifies the bm_env.c
to remove the extern definitions and correct the env_map_memory function
The patch also updates license information for rpmsg_retarget.* files
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
There is a bug wherein the DMA listening to RX empty status goes busy
if RX FIFO clear bit is set in the FIFO control register, even if there
is no transfer request. So switch to I/O mode always to clear RX FIFO and
restore the mode in the end.
Signed-off-by: Harini Katakam <harinik@xilinx.com>
This patch includes platform specific functions to platform.c and
platform.h which are being called by openamp library. The patch also
removes Disable DCache API from the application which was being used as a
workaround for a cache issue.
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch includes platform specific functions to platform.c and
platform.h which are being called by openamp library. The patch also
removes Disable DCache API from the application which was being used as a
workaround for a cache issue.
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch includes platform specific functions to platform.c and
platform.h which are being called by openamp library. The patch also
removes Disable DCache API from the application which was being used as a
workaround for a cache issue.
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This is the initial version of Inter Processor Interrupt (IPI) driver
for ZynqMP,including the required tcl and an example on using the driver.
Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
This patch adds FreeRTOS helloworld application to be built with FreeRTOS BSP for cortex-R5
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch includes rpc_demo test application which should be built
with R5 openamp library for creating baremetal slave application
for openamp
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch includes matrix_multiply test application which should be built
with R5 openamp library for creating baremetal slave application
for openamp
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch includes echo test application which should be built
with R5 openamp library for creating baremetal slave application
for openamp
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
This patch contains initial version of xilopenamp library. Currently
the library supports cortex-R5 processor
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
The existing changes done under EXTENDED_DESC_MODE should in fact
be done for arch 64. Extended mode needs additional BD words and since
there is no test for it at present, it is disabled.
Signed-off-by: Harini Katakam <harinik@xilinx.com>
Enable jumbo option and use updated API's for zynqmp.
Increase array size to support jumbo frames - these can be decreased by user if
not required.
Signed-off-by: Harini Katakam <harinik@xilinx.com>
Add an option to enable jumbo frames for zynqmp.
Add frame size and receive buffer length masks to instance so that they can
be updated dynamically with jumbo enable/disable.
Provide new API XEmacPs_GetRxFrameSize instead of XEmacPs_BdGetLength to
find frame size in case of jumbo frames or otherwise.
Signed-off-by: Harini Katakam <harinik@xilinx.com>
This patch documented the parameters of XQspiPsu_SelectFlash API
to remove doxygen warnings and modified the xqspipsu.h file
header as number of characters in a line are more than usual.
Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>