Commit graph

1366 commits

Author SHA1 Message Date
Subbaraya Sundeep Bhatta
6c0c9aaf24 xadcps: modify index.html for current version
modified inedx.html and copyright.

Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
2015-05-20 11:23:01 +05:30
P L Sai Krishna
d9e7b7cf40 devcfg_v3_3: Updated the version in mdd file.
This patch modifies the version number in mdd file.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-05-19 16:05:49 +05:30
Subbaraya Sundeep Bhatta
2023ea582c xadcps: fix incorrect device config base address
Modified to use correct device config base address

Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
2015-05-18 16:02:16 +05:30
Subbaraya Sundeep Bhatta
1ca9de4bfb xadcps: Add new version 2.2
Added new version 2.2 and deprecated 2.1

Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
2015-05-18 16:02:16 +05:30
Nava kishore Manne
293c1f12e7 Thirdparty:sw_services:standalone drivers license changes
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-05-16 19:42:42 +05:30
Nava kishore Manne
1726f14574 lib:sw_apps:standalone drivers license changes
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-05-16 14:37:24 +05:30
Nava kishore Manne
1624cbc10e lib:bsp:standalone drivers license changes
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-05-16 11:52:35 +05:30
Kedareswara rao Appana
25909c6148 llfifo: Update Register offsets in AXI4 data path as per latest IP version
This patch updates the register offsets in the AXI4 data path
as per latest IP version(v4.1).
The addresses are changed to accommodate increased data width.
With old address map and increased data width user had to generate AXI4 unaligned transactions.
Therefore, the address map was changed for ease of use in the IP.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-05-16 09:10:56 +05:30
Kedareswara rao Appana
86997cfd31 llfifo: Add llfifo_v5_0 and Deprecate llfifo_v4_0
Add llfifo_v5_0 deprecate llfifo_v4_0.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-05-16 09:10:55 +05:30
Nava kishore Manne
398cbdc152 lib:sw_services:standalone drivers license changes
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-05-15 14:48:25 +05:30
Harini Katakam
19801ef984 xilffs: Card check only if card detect signal is present
Check for card detection only if that signal is present
(based on HAS_CD macro)

Signed-off-by: Srinivas Goud <srinivas.goud@xilinx.com>
Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-05-14 22:23:54 +05:30
Harini Katakam
2e8bfd71a8 xilffs: Add card check logic to support Zynq Ultrascale+ MPSoC
Add card detection logic as per Zynq Ultrascale+ MPSoc specification.

Signed-off-by: Srinivas Goud <srinivas.goud@xilinx.com>
Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-05-14 22:23:54 +05:30
P L Sai Krishna
ca1fb25835 xilffs_v3_1: Added new minor version.
This patch add new minor version v3.1 and deprecates v3.0

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-05-14 22:23:54 +05:30
P L Sai Krishna
5c1e76fb33 qspipsu_v1_1: Modified the ByteCount requested for ReadId.
This patch modifies the byte count requested for ReadId and
Flash Status.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-05-14 22:08:48 +05:30
P L Sai Krishna
0eeddf5269 qspipsu_v1_1: Removed alignment for buffers.
This patch removes the alignment for buffers except Rx data
buffer.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-05-14 22:06:24 +05:30
P L Sai Krishna
fad3ad8375 qspipsu_v1_1: Less than 8 byte requests are done in IO mode.
This does following things
1. For lees than 8 byte requests, done in IO mode.
2. One dummy GenFifo entry at the end in case of IO mode.
3. used memcpy while filling TxFifo.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-05-14 22:06:23 +05:30
Sarat Chand Savitala
2374e5de1c sw_apps:zynqmp_fsbl: xilsecure library selection by default
While creating new FSBL+BSP project, made xilsecure library
to be selected by default. This avoids compilation errors
when FSBL project is created.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-05-14 07:55:03 +05:30
Nava kishore Manne
0c9ca599cf Drivers:standalone drivers license changes.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-05-13 17:05:11 +05:30
Shadul Shaikh
daea1680c9 axis_switch: Added example for driver
Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
2015-05-13 12:23:42 +05:30
Shadul Shaikh
a00dbcfed4 axis_switch: Added new driver Axi4-Stream Switch Control router
Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
2015-05-13 12:23:41 +05:30
Soren Brinkmann
9383db5c21 xilsecure: Don't consider directory components in toolchain check
The makefile tries to detect gnu vs ARM toolchain by string-comparing
the COMPILER with some hardcoded values. This fails when the toolchain
is specified with directory components. Hence, remove directory
components from the tests.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-05-13 11:06:43 +05:30
P L Sai Krishna
97f9e315c6 qspipsu_v1_1: Modified the tcl file and related c files.
This patch updated the .tcl file to import bus width and
updated the driver instance.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-05-07 22:00:08 +05:30
P L Sai Krishna
dcf79611f8 qspipsu_v1_1: Modified the code according to Misrac 2012.
This patch modifies the code according to Misrac 2012.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-05-07 22:00:07 +05:30
Subbaraya Sundeep Bhatta
1dd455366e sysmon: Modify temperature transfer function for Ultrascale
Modified temperature transfer function for Ultrascale.

Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
2015-05-07 21:19:48 +05:30
Subbaraya Sundeep Bhatta
603530af24 sysmon: Add new version 7.1
Added new version 7.1 and deprecated old version 7.0

Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
2015-05-07 21:19:48 +05:30
Bhavik Ameta
ec8a0b20f7 sw_services:xilsecure_v1_0: resolved AES and RSA failures
DMA interrupt clearing after each transfer in AES
resolved RSA failure due to incorrect data type

Signed-off-by: Bhavik Ameta <bameta@xilinx.com>
2015-05-05 23:42:49 +05:30
Sarat Chand Savitala
d7d271eb97 sw_apps:zynqmp_fsbl: Fix to make decryption work when authentication disabled
When authentication of partitions is not enabled, decryption is failing.
This patch fixes this issue.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-05-05 23:29:41 +05:30
naga sureshkumar relli
edc320c043 uartns550: Clock Divisor Enhancement
This patch fixes the bug in uart clock divisor when setting baud rate.

Signed-off-by: naga sureshkumar relli <nagasure@xilinx.com>
2015-05-05 23:09:17 +05:30
naga sureshkumar relli
bc3c5274cf Deprecated old uartns550_v3_2 created new uartns550_v3_3
Signed-off-by: naga sureshkumar relli <nagasure@xilinx.com>
2015-05-05 23:09:17 +05:30
Harini Katakam
daedbcdf08 qspipsu: Change comment about bus width of dummy entry
The recommendation from design is to have bus width of dummy entry =
bus width of address phase (whether this is 1, 2 or 4).
This code will remain same irrespective of QEMU. Hence change the comment.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
2015-05-04 10:57:42 +05:30
P L Sai Krishna
b2ef81cba0 qspipsu_v1_1: Added returns for failure cases in examples.
This patch add returns for failure cases in examples.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-05-04 10:57:41 +05:30
P L Sai Krishna
6fcd63974f qspipsu_v1_1: Modified the code according to MISRAC.
This patch modifies QSPIPSU source code according to
MISRAC-2012.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-05-04 10:57:39 +05:30
Sarat Chand Savitala
380e426371 sw_apps:zynqmp_fsbl: Changes in FSBL as per the current xilsecure library
This patch does the changes in FSBL to match the signature changes of
few functions in xilsecure library.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-04-27 17:37:44 +05:30
naga sureshkumar relli
e21adc57a5 canfd_v1_0: Fix for compilation errors in canfd driver
This patch fixes the compilation errors in canfd
driver.

Signed-off-by: naga sureshkumar relli <nagasure@xilinx.com>
2015-04-27 17:26:51 +05:30
Soren Brinkmann
4b7afd3d4e xilpm: Remove stdint.h
Migrate to the standard standalone types.

Scripted change:
  find -type f -name "*.[ch]" -exec sed -i -e 's/uint32_t/u32/g' -e 's/uint8_t/u8/g' -e 's/uint16_t/u16/g' '{}' ';'
  find -type f -name "*.[ch]" -exec sed -i -e 's/int32_t/s32/g' -e 's/int8_t/s8/g' -e 's/int16_t/s16/g' '{}' ';'

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-04-24 11:57:12 +05:30
Soren Brinkmann
1a875cb79f xilpm: Remove pm_this_cpuid
Remove this unused macro.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-04-24 11:57:11 +05:30
Soren Brinkmann
a8b9765edc xilpm: Move common parts to common header
The pm_client.h headers hold processor specific information. Move common
information to the common header.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-04-24 11:57:11 +05:30
Soren Brinkmann
92747ad56a xilpm example: Remove GicEnableInterrupt()
The function is just a trivial wrapper => inline.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-04-24 11:57:11 +05:30
Soren Brinkmann
fcd1ad8d4e xilpm example: Remove gic_setup_handler()
The function is just a trivial wrapper and used once only. Just inline
it.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-04-24 11:57:10 +05:30
Soren Brinkmann
bb2e0bdb77 xilpm: Clean up
Fix some white space and comment issues.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-04-24 11:57:10 +05:30
Jyotheeswar Reddy
4350a1fa00 sw_apps:zynqmp_pmufw: Clear IPI0 status register during core init
swbeta2 commit 1b173007d1cc009bffeb2969a5a5bacc533647db

IPI0 is used by PMUFW for PM requests and the mask is used for determining
 the Master. There are chances of IPIs being triggered before FW Init but
un-handled or even bits that are not cleared by ROM, causing a corruption
of the ISR mask. So PMUFW should cleanup these bits during startup

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-04-24 11:57:10 +05:30
Soren Brinkmann
12c2e29937 PMUFW: Release RPU island reset on power up
swbeta2 commit 572db0eb0f48b4f7f5684abea721c6fac92ccdee

When powering up the RPU island the individual RPU core resets as well
as the reset for the whole island are asserted. To ensure proper resume,
the island reset needs to be released when the island is powered up.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-04-24 11:57:09 +05:30
Jyotheeswar Reddy
6fcdc41593 sw_apps:zynqmp_pmufw: Syncup PMUFW App with PMUFW Git Repo
swbeta2 commit ae6d9a98edb99ce4c51c85bce4872a9f11c7eb74

PMU Firmware is being updated to the latest code base available
in the pmufw git repo. Major changes are:
	-Error Management is enabled by default
	-PM Module bug fixes
	-Code formatting changes
	-PMU ROM handlers use ROM Table instead of
	 individual handler addresses
	-Bug fixes in scheduler
	-FW_IS_PRESENT bit is set if PM is enabled

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-04-24 11:57:09 +05:30
Jyotheeswar Reddy
22b06a8e40 lib:xilpm:example: Use TCM-A for saving context
swbeta2 commit 90e16f97eb510ea91702729bf38bc7c7d5d62dba

FSBL inits the TCMs that are used by R5 Apps. We have vectors in TCM-A
and that  data is passed on to FSBL and it is initialized. So using the
same TCM block as vectors ensures that we use an intialized memory and
avoids ECC errors due to RMW or Reads of uninitialized memory locations.
In JTAG mode, TCM still needs to be initialized using XSDB.

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-04-24 11:57:08 +05:30
Soren Brinkmann
1eca099af7 xilpm: self-suspend: Set VINITH on R5
swbeta2 commit 8e5bf013a42c56c713efcfa1ab00c78e648b2333

To ensure we resume at the correct vector address, set the VINITH bit
accordingly.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-04-24 11:57:08 +05:30
Soren Brinkmann
879cc61c83 xilpm: self-suspend: Set RVBAR on A53
swbeta2 commit 7ebba935262ebff0df604fd560f4a023d32a7c72

To ensure the application is resumed at the vector table, set the RVBAR
accordingly.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-04-24 11:57:08 +05:30
Jyotheeswar Reddy
ef6ec50aa5 libs:xilpm_v1_0: Adding Power Management Library for ZynqMP
swbeta2 commit 8e824dfe3b169461916c0190194a3eb5a7810b1a

xilpm provides a set of APIs which can be used by standalone applications
to call in PMUFW power management APIs via IPI. Self-suspend example is
provided to demonstrate the usage of this library.

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-04-24 11:57:08 +05:30
Sarat Chand Savitala
91f8d3bf88 sw_apps:zynqmp_fsbl: Added support for image decryption
Support for decryption of images added.
Authentication and decryption now use secure library APIs.
csu dma driver APIs are used now.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-04-22 11:50:09 +05:30
Venkata Naga Sai Krishna Kolapalli
2ffa12ed7c gpiops_v3_1 : Convert 3-line comments to 1-liners.
Driverwide, scripted change to convert 3-line
comments to single line comments.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-22 11:48:33 +05:30
Venkata Naga Sai Krishna Kolapalli
3357570898 uartps_v3_1 : Convert 3-line comments to 1-liners
Driverwide, scripted change to convert 3-line comments
to single line comments.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
2015-04-22 11:30:15 +05:30