Commit graph

1366 commits

Author SHA1 Message Date
Venkata Naga Sai Krishna Kolapalli
80408dd5fd uartps_v3_1 : Modified interrupt example to support ZynqMP.
This patch adds support to Zynq Ultrascale+ MP for interrupt
example.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-22 11:30:14 +05:30
P L Sai Krishna
5d9aa73bd2 qspipsu_v1_0: Enabled cache in examples.
This patch enables the cache in examples and modified the buffer
alignment to 64-byte.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-04-22 11:18:24 +05:30
P L Sai Krishna
1b91e1c61d qspipsu_v1_1: Added Cache Enable support for qspipsu.
This patch does following things.
1. Added Cache support.
2. Modified TXD_DEPTH to 64.
3. Enabled RXEMPTY interrupt.
4. Modified the param passed to XQspiPsu_ReadRxFifo API to
RxThreshold*4, since it is expecting number of bytes to read.
5. Used Qspipsu Instance buffers in Interrupt handler rather
than Msg buffers.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-04-22 11:18:23 +05:30
P L Sai Krishna
42cc06acb2 qspipsu_v1_1: Added new version for qspipsu.
This patch add new version 1.1 for qspipsu and deprecates
older version.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-04-22 11:18:23 +05:30
naga sureshkumar relli
42234e4dd3 canfd_v1_0 : Added initial version for CanFd Driver.
This patch adds support for CanFd soft ip

Signed-off-by: naga sureshkumar relli <nagasure@xilinx.com>
2015-04-20 18:19:29 +05:30
Venkata Naga Sai Krishna Kolapalli
0706340b26 gpiops_v3_1 : Corrected reset values of GPIO banks.
This patch corrects the GPIO's banks interrupt type
registers reset values.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-20 14:36:16 +05:30
Venkata Naga Sai Krishna Kolapalli
19360973a6 gpiops_v3_1 : Add support for Zynq Ultrascale+ MP.
This patch adds support for Zynq Ultrascale+ MP
for driver source files.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-20 14:36:16 +05:30
Venkata Naga Sai Krishna Kolapalli
5e8e941ca9 gpiops_v3_1 : Deprecated old v3 and created new v3.1
This patch deprecates gpiops_v3 and created new
gpiops_v3_1.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-20 14:36:15 +05:30
Venkata Naga Sai Krishna Kolapalli
b016d1f766 uartps_v3_1 : Removed status register bit defines.
This patch removes the status register bit definations
that are not available on the RTL.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-20 13:10:46 +05:30
Venkata Naga Sai Krishna Kolapalli
520e483d61 uartps_v3_1 : Modified code to support latest RTL changes.
This patch adds support code for Zynq Ultrascale+ MP

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-20 13:10:45 +05:30
Venkata Naga Sai Krishna Kolapalli
f43b10aa77 uartps_v3_1 : Created new v3.1 of uartps.
This patch creates new uartps_v3_1 driver.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-20 13:10:45 +05:30
Shakti Bhatnagar
8fc5ca745a nandpsu_v1_0: MISRA C fixes for driver files.
This patch has changes in driver code to fix MISRA C voilations.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-04-20 12:48:07 +05:30
Shakti Bhatnagar
67b871021e nandpsu_v1_0: Remove unnecessary DMA Buffer Boundary Register configuration.
Removed the configuration of DMA Buffer Boundary register in WriteSpareBytes API
as the driver uses oob size as pkt size and thus configuring DMA Buffer
Boundary Register has no effect.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-04-20 12:45:24 +05:30
Shakti Bhatnagar
3580a10ae2 nandpsu_v1_0: Fixed triggering of assert call when block reaches max block.
Since the check for the block to have reached the end block was at the end of the loop,
thus assert call triggering could happen if the block crosses the max block limit,
making the driver to hang. Thus to fix the triggering of assert call,
the check for the block to have reached the max block is being done at the start of
the loop in XNandPsu_CalculateLength function.
The u32 typecasting for the variable OffsetVar has been removed and the data type for
the variable TempLen has been changed to u64 as for higher block numbers the value for
these variables will require u64 datatype otherwise corrupted value will get stored
which will lead to wrong calculation of block.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-04-20 12:45:24 +05:30
Nava kishore Manne
c61ab67a49 nandpsu_v1_0: Removed unnecessary Changes.
This reverts commit 8922aa1818dea2b01f2eb6b6fbb388619a9d9c5a.
2015-04-20 12:24:14 +05:30
P L Sai Krishna
2d3200d50f devcfg_v3_3: Corrected XDcfg_ReadMultiBootConfig macro.
This patch modifies XDcfg_ReadMultiBootConfig macro, passed
2 arguments for XDcfg_ReadReg.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-04-18 22:22:38 +05:30
P L Sai Krishna
fc2e15e185 devcfg_v3_3: Added new version for devcfg.
This patch adds new version 3.3 and deprecates older version
3.2 for devcfg.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-04-18 22:22:38 +05:30
Sarat Chand Savitala
b2a9c67a13 sw_apps:zynq_fsbl: Corrected logic to clear DMA done count for PCAP
Corresponding fields in the devcfg.STATUS register are written to,
for clearing DMA done count.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-04-16 15:35:42 +05:30
Sarat Chand Savitala
1e8599957a sw_apps:zynqmp_fsbl: Changes in FSBL to sync HEAD with beta2 branch
These changes were present in master-sdk-beta2 and also need to be
applied to master as well.
Changes done are:
- Macro name change in QSPI for PSU naming change
- Workaround for QEMU in QSPI32 dummy mode

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-04-16 15:31:05 +05:30
P L Sai Krishna
411bfef505 xilskey_v2_1: Initialised RSAKeyReadback value with zero
This patch initialises RSAKeyReadback value with zero's since
if RSA key is read with XSK_EFUSEPS_ENABLE_RSA_KEY_HASH as FALSE
then it will return zero.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-04-07 00:11:25 +05:30
Sarat Chand Savitala
de365de89b sw_apps:zynqmp_fsbl: Check for supported OS platform
This patch adds call to check the supported OS platform when
application is Zynq MP FSBL.
This enables correct error message to be displayed when trying
to create FSBL project with OS platform other than Standalone.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-04-06 21:23:06 +05:30
Venkata Naga Sai Krishna Kolapalli
ca82675069 xilskey_v2_1 : Modified xilskey files to fix warnings.
This patch modifies files to fix warnings that got
generated when -Wextra flag was used.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-03 18:22:40 +05:30
Venkata Naga Sai Krishna Kolapalli
22b5585a09 xilskey_v2_1 : created new v2.1 version for xilskey.
This patch deprecates the old v2.0 version and created
new v2.1 version for xilskey library.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-03 18:22:21 +05:30
Sarat Chand Savitala
f43d267e1b sw_apps:zynqmp_fsbl: Made compiler optimization configurable with HSI
Removing compiler optimization level and debug level flags from FSBL tcl file.
These flags can be passed on as arguments while compiling using make.
O2 optimization will be required while building FSBL to reduce the
size of FSBL and hence to accomodate ATF in OCM.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-04-02 10:53:55 +05:30
Shakti Bhatnagar
4c2aa9292c nandpsu_v1_0: Removed workaround for qemu in driver.
Removed the workaround for qemu in driver code as qemu now supports
ecc and bad block table handling.

Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
2015-04-01 08:34:46 +05:30
Kinjal Pravinbhai Patel
9a7de0975b driver: ttc: change in low level example
This patch modifies ttc low level example so that example passes in a short
time.

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-03-31 15:25:45 +05:30
VNSL Durga
da0acf43dc ZDMA: Modified example of ZDMA
Size of data transfer is modified from 1GB to 1MB

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-03-31 12:23:01 +05:30
VNSL Durga
1e13788ab4 ZDMA: Modified mdd file according to hardware design
Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-03-31 12:23:01 +05:30
Kinjal Pravinbhai Patel
381054af18 sw_services: openamp: change in makefile
This patch modifies openamp Makefile to fix the compilation error
produced in windows

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-03-31 12:03:29 +05:30
Shakti Bhatnagar
092cc995df nandpsu_v1_0: Correct the length to be read for signature and version when No OOB enabled.
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>
2015-03-30 10:54:12 +05:30
Shakti Bhatnagar
33888ecc4d nandpsu_v1_0: Modified number of bytes to be read for bbt.
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>
2015-03-27 17:45:17 +05:30
Sarat Chand Savitala
4f84389e6c sw_apps:zynqmp_fsbl: Flash load address for SD
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>
2015-03-26 21:40:07 +05:30
Shakti Bhatnagar
23469c67ec nandpsu_v1_0: Modified InitBbtDesc function for OOB and No OOB feature.
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>
2015-03-26 21:04:45 +05:30
Shakti Bhatnagar
f22adb128b nandpsu_v1_0: Ensure ecc error interrupts are not masked in fifo read mode for all the packets.
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>
2015-03-26 21:04:45 +05:30
Shakti Bhatnagar
72d11a1a8a nandpsu_v1_0: Modified Ecc Address Calculation based upon the oob size.
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>
2015-03-26 21:04:44 +05:30
Bhavik Ameta
8764622019 sw_services:xilsecure_v1_0: changed RSA api
Changed RSA api after code review
2015-03-26 11:19:34 +05:30
Bhavik Ameta
ad78049acf sw_services:xilsecure_v1_0: indentation changes after code review
Changed indentation after code review.
2015-03-26 11:19:33 +05:30
Bhavik Ameta
888308d4a2 sw_services:xilsecure_v1_0: updated tcl file
changed include directories in tcl file
2015-03-26 11:19:33 +05:30
Kinjal Pravinbhai Patel
b48c668c9a sw_apps: openamp_rpc_demo: modified the code and license information
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>
2015-03-25 19:02:55 +05:30
Kinjal Pravinbhai Patel
c8583fd9f7 sw_apps: openamp_echo_test: modified the code and license information
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>
2015-03-25 19:02:54 +05:30
Kinjal Pravinbhai Patel
2eff0eedbb sw_apps: openamp_matrix_multiply: modified the code and license information
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>
2015-03-25 19:02:54 +05:30
Kinjal Pravinbhai Patel
0a34042255 sw_services: Openamp: modified the code and license
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>
2015-03-25 19:02:54 +05:30
Kinjal Pravinbhai Patel
1da3451cff sw_apps: FreeRTOS hello world app: modified tcl file
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>
2015-03-25 14:21:18 +05:30
Peter Crosthwaite
f325b4c8d8 fsbl qspi: Fix dummy mode in examples
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>
2015-03-25 12:56:43 +05:30
Peter Crosthwaite
b9dc06aac8 qspi: Fix dummy mode in examples
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>
2015-03-25 12:56:43 +05:30
Sarat Chand Savitala
dde36d829d sw_apps:zynqmp_fsbl: Added ATF handoff params and PMU FW download support
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>
2015-03-24 23:03:50 +05:30
P L Sai Krishna
9136dc1d92 iicps_v3_0: Modified the IICPS eeprom examples.
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>
2015-03-23 17:35:12 +05:30
VNSL Durga
53f21544f9 ZDMA_v1_0: Modified XZDma_TotalByteClear
clearing by writing read back value from the register instead of
writing predefined macro

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
2015-03-23 17:29:30 +05:30
Sarat Chand Savitala
e3aad72bc2 sw_apps:zynqmp_fsbl: disable cache during ECC initialization
Disabling cache ensures proper initialization of ECC

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-03-21 20:50:12 +05:30
Kinjal Pravinbhai Patel
659a5ebfc2 openamp_rpc_demo: modified baremetal and platform code
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>
2015-03-21 17:51:28 +05:30