Commit graph

1365 commits

Author SHA1 Message Date
Harini Katakam
ed027bf4b9 qspipsu: Increase setup and hold time
Increase the setup and hold time of qspi to accomodate for a worst case
of ~15ns with ref clk of 300MHz.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-10-12 18:21:47 +05:30
Kinjal Pravinbhai Patel
3c80ca4b5b sw_apps: updated openamp rpc demo description for zynq support
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-12 18:21:31 +05:30
Kinjal Pravinbhai Patel
fe5cf411ba sw_apps: updated openamp matrix multiply description for zynq support
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-12 18:21:20 +05:30
Kinjal Pravinbhai Patel
50e5bc791b sw_apps: updated openamp echo test description for zynq support
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-12 18:21:06 +05:30
Rohit Consul
33835aa8dc v_hdmitx: Add initial version of hdmi tx core driver
Added hdmi tx core driver v1.0 (on behalf of Gilbert Magnaye)

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-10-12 16:29:53 +05:30
Rohit Consul
a42863ac75 v_hdmirx: Add initial version of hdmi rx core driver
Added hdmi rx core driver v1.0 (on behalf of gilbert magnaye)

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-10-12 16:29:43 +05:30
Rohit Consul
a6f402d225 v_hdmitxss: Add initial version of hdmi tx subsystem driver
Added hdmi tx subsystem driver v1.0 (on behalf of Gilbert
Magnaye)

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-10-12 16:29:33 +05:30
Rohit Consul
3713b27d5a v_hdmirxss: Add initial version of hdmi rx subsystem driver
Add initial revision of hdmi rx subsystem driver

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-10-12 16:28:58 +05:30
P L Sai Krishna
ce8d105a07 xilopenamp: Corrected the Makefile for IAR.
This patch modifies the Makefile of xilopenamp to
remove the compilation error for IAR compiler.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-12 13:09:11 +05:30
P L Sai Krishna
a285a07ea5 xilsecure: Corrected Makefile error for IAR.
This patch modifies the Makefile of xilsecure to
remove the compilation errors for IAR compiler.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-12 13:09:03 +05:30
P L Sai Krishna
9b24ae0a67 xilisf: Corrected the Makefile error for IAR.
This patch modifies the Makefile of xilisf to
remove the compilation errors for IAR compiler.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-12 13:08:54 +05:30
P L Sai Krishna
07a30bad5b xilflash: Corrected the Makefile error for IAR.
This patch modifies the xilflash Makefile to
remove the compilation error for IAR compiler.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-12 13:08:43 +05:30
P L Sai Krishna
2e94f1a88e xilffs: Corrected Makefile error for IAR.
This patch modifies the make file of xilffs to
remove the compilation error for IAR compiler.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-12 13:08:14 +05:30
Shadul Shaikh
1917c9d19e dptxss: Added index.html file
This patch adds index.html file in examples folder

Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Andrei-Liviu Simion <andreis@xilinx.com>
2015-10-12 10:56:48 +05:30
Shadul Shaikh
c55f4acbc2 dptxss: Added custom resolution support
This patch adds custom resolution support and wrapper function
for setting a redriver path.

Signed-off-by: Shadul Shaikh <shaduls@xilinx.com>
Acked-by: Andrei-Liviu Simion <andreis@xilinx.com>
2015-10-12 10:56:18 +05:30
VNSL Durga
f421c75450 Xilskey: Modified JtagWrite API
According to IEEE 1149.1 programming will start after
TCK toggle at higher edge of clock and will be ended at
RTI state change and followed TCK toggle.
So JtagWrite API is modified accordingly.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-12 10:46:24 +05:30
VNSL Durga
601ba781fb xilskey: Added DFT control bits programming
DFT JTAG disable and DFT mode disable control bits
programming and reading from status register are added
to efuse example and also input macros in xilskey_input.h
file.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-12 10:46:13 +05:30
VNSL Durga
1553beac28 xilskey: Added DFT control bits
DFT control bits of efusePS for Zynq Platform is
added.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-12 10:46:01 +05:30
VNSL Durga
41169b9bfd xilskey: Added new version
Support for programming DFT bits is provided.

Signed-off-by: VNSL Durga <vnsldurg@xilinx.com>
Reviewed-by: Harini Katakam <harinik@xilinx.com>
2015-10-12 10:45:31 +05:30
Rohit Consul
86f6445653 v_tpg: Bug fix for vidout lock monitor read mechanism
Fixed the read API for video lock monitor to read from
peripheral. Update example design to align with example design
update in hw

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-10-12 10:45:15 +05:30
Andrei-Liviu Simion
0c17eca07b dp: Updated version to 3.0.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-11 12:09:56 +05:30
Andrei-Liviu Simion
e3261eabd9 dp: rx: Fixed mask value for TPS3.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-11 12:09:48 +05:30
Andrei-Liviu Simion
a1f01dfd16 dp: Set all instance structure values to 0.
Parts of the driver check whether or not the function pointers are
set and call appropriate callbacks if they are.
Ensure function pointers are set to 0 / NULL during configuration
initialization.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-11 12:09:38 +05:30
Andrei-Liviu Simion
6881673da5 dp: tx: Added callback for MSA updates.
When the MSA is updated, provide a mechanism to run a user-defined
callback instead of using the MSA values from the driver's
structure.

This is useful if another DP core exists in the system (RX). Using
the new callback mechanism, the user can specify to use whatever
MSA values exist in the RX core as the values to transmit.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-11 12:09:27 +05:30
Andrei-Liviu Simion
696be93f8d dp: mst: Removed unneeded assignment.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-11 12:09:18 +05:30
Andrei-Liviu Simion
b926ec9238 tmrctr: Added AXI clock frequency to config.
Expose the AXI bus clock frequency to the higher-level.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-11 12:09:07 +05:30
Andrei-Liviu Simion
eb17e0e830 tmrctr: Protect against driver inclusion without core.
A driver may be included even when there is no associated core
present. (See the DEPENDS option in data/*.mdd).

If another driver includes this TmrCtr driver, despite no
associated timer counter core existing, then xtmrctr.tcl won't be
invoked by SDK and the xtmrctr_g.c will not be generated.
If this file is not generated, the BSP will include the default
xtmrctr_g.c which was previously assuming that there is at least
one instance of the core in the system.

Also, the XPAR_XTMRCTR_NUM_INSTANCES wasn't being defined in this
case.

Protection against such a scenario is required.
Some subsystem drivers will include all subcore drivers,
regardless whether they are a part of the system or not.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-11 12:08:56 +05:30
Andrei-Liviu Simion
8631d7b7a1 hdcp1x: Added example _g.c file.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-11 12:08:47 +05:30
Andrei-Liviu Simion
22a0b99cb9 hdcp1x: Updated version to 2.0.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-11 12:08:38 +05:30
Andrei-Liviu Simion
0e440b93e0 hdcp1x: Define number of instances if not defined.
Some subsystem drivers have dependencies on all subcore drivers.
If no subcore of that type is present, the HDCP subcore driver's
TCL file won't be executing, and the XPAR_XHDCP_NUM_INSTANCES
will remain undefined.
This will cause a compilation error due to XHdcp1x_LookupConfig
using this definition.

This patch protects against such a scenario.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-11 12:08:29 +05:30
Andrei-Liviu Simion
13caf612bc hdcp1x: Updated configuration initialization.
The configuration initialization function is now consistent with
other drivers.

Added effective address as an argument to CfgInitialize.
This is necessary when memory addresses are translated differently
from the physical base address and for subsystem drivers whose
subcore base addresses appear as relative offsets to the base
address of the subsystem.

Moved configuration related content from LookupConfig to
CfgInitialize.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-11 12:08:17 +05:30
Andrei-Liviu Simion
5136ca98fe hdcp1x: Updated HDMI driver usage.
Driver has been renamed to XV_Hdmi* rather than XHdmi*.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-11 12:08:09 +05:30
Andrei-Liviu Simion
772862ce87 tmrctr: Updated version to 4.0.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-11 12:08:01 +05:30
Andrei-Liviu Simion
58cb1f1c3c tmrctr: Moved configuration look up function to sinit file.
For consistency with common driver style.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-11 12:07:53 +05:30
Andrei-Liviu Simion
ce787a5831 tmrctr: Added a default stub for callbacks.
To prevent unexpected behavior resulting from jumping to a NULL
address.

Previously, if the user didn't define a callback before the
occurence of an interrupt, the driver's interrupt handler would have
invoked a function pointer to NULL.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-11 12:07:43 +05:30
Andrei-Liviu Simion
573bc5b06b tmrctr: Updated initialization API.
Added configuration initialization and hardware initialization API
functions.
The XTmrCtr driver is now consistent with other drivers.

The previous initialization structure disallowed using a different
base address from what was found in the xparameters and the
configuration table of the core.
The XTmrCtr_Initialize function was overriding the effective base
address internal to the core - it still as to keep the API
functionality intact for backward-compatibility.
Internally, the function is calling the new APIs.

This poses an issue if the memory addresses have been translated
differently from the physical base address.
Also, such as is for subsystem drivers, the base address of one
of the subsystem's subcores will appear as a relative offset to
the base address of the subsystem.

This issue is addressed by providing the higher level with control
of which base address will be used by the driver.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-11 12:07:31 +05:30
Andrei-Liviu Simion
a6beedde4c dp: tx: Qualify interrupt status with interrupt mask.
The status and mask registers are independent - the interrupt status
is not affected by the software controlled interrupt mask register.

For the contents of the interrupt mask to take effect, qualification
of the interrupt status needs to happen in software.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-11 12:07:21 +05:30
Andrei-Liviu Simion
9a7cc7936e dp: tx: Fixed PHY_STATUS macros for lane counts.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-10-11 12:05:54 +05:30
Naga Sureshkumar Relli
abdedc5daf xilisf: Updated IntelStmDevices list
This patch updates the IntelStmDevices list to support
Micron N25Q256A flash device.

Signed-off-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
Acked-by: Harini Katakam <harinik@xilinx.com>
2015-10-11 11:29:04 +05:30
Harini Katakam
65acc4d4c3 lwip_echo_server: Update tcl supported OS
Remove freertos from proc reporting supported OS as lwip echo server
only supports standalone.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-11 11:28:54 +05:30
Harini Katakam
151bb50243 lwip: Use xil_printf instead of printf
printf is used only in two places and it was requested to remove these
as it will reduce the size of the library.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-11 11:28:44 +05:30
Harini Katakam
c7705e5843 lwip: Remove SYS_ARCH_PROTECT calls in input
Remove protect and unprotect calls in xemacif_input because
this is alreayd present inside individual interface's input calls
and interrupt should be disabled only for that duration.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-11 11:28:33 +05:30
Venkata Naga Sai Krishna Kolapalli
eb187277b1 Coresight : Add support for IAR Compiler.
This patch adds support for ICC ARM Compiler by
removing __inline keyword in case of IAR compiler.

Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
Acked-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-10-11 11:28:27 +05:30
Venkata Naga Sai Krishna Kolapalli
19210c0ac6 Coresight : Create new version for coresight driver.
Signed-off-by: Venkata Naga Sai Krishna Kolapalli <venkatan@xilinx.com>
Acked-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-10-11 11:28:20 +05:30
Harini Katakam
bf85a4429e emacps: Fix examaples to avoid compilation errors in Zynq
Modify clock config function to move all ZynqMP GEM related code inside
XPAR_<psu ethernet ip> checks. This fixes the compilation errors for Zynq
that are caused by references to GEM2/3.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
2015-10-11 11:28:14 +05:30
Kinjal Pravinbhai Patel
9f455efaa1 bsp: a9: modified assembly function definition for iccarm
This patch modifies xpseudo_asm_iccarm.h to fix the compilation
when dsb, isb and dmb is used by modifying for correct
function definitions

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-11 11:28:01 +05:30
Harini Katakam
e33bf1144a lwip_echo_server: Add error message when used with PSU Microblaze
Add error message in tcl since there is no support for PSU Microblaze.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-09 16:09:16 +05:30
Harini Katakam
6d1cc7f29d lwip_echo_server: Display error when selecting 32 bit A53 compiler
Update tcl to show an error message when lwip_echo_server is selected
from the sw apps when using 32 bit A53 compiler.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
2015-10-09 16:07:38 +05:30
Sarat Chand Savitala
b92ef0b31e sw_apps:zynq_fsbl: Added tcl procedures to validate processor and os
tcl procedures are added to facilitate validating the supported processor(s) and
os platform by FSBL.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-10-09 15:34:07 +05:30
Sarat Chand Savitala
f6f21678a4 sw_apps:zynqmp_fsbl: Added support for SD1 and SD1 with level shifter bootmodes
This patch adds support for SD1 and SD1 with level shifter bootmodes in FSBL

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-10-09 08:52:58 +05:30