Commit graph

1366 commits

Author SHA1 Message Date
Sarat Chand Savitala
272bff49fb sw_apps:zynqmp_fsbl: Code changes done to avoid warnings
Warnings generated during compiling FSBL sources are addressed.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
2015-08-10 16:45:58 +05:30
Andrei-Liviu Simion
3662d31b97 hdcp1x: Exposed register definitions for the core.
- Renamed xhdcp1x_cipher_hw.h to xhdcp1x_hw.h
- Moved low-level macros to the new xhdcp1x_hw.h file.
- Included xhdcp1x_hw.h in xhdcp1x.h, exposing register definitions
to the user.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:40:26 +05:30
Andrei-Liviu Simion
ec723f1f41 hdcp1x: Modified macros and removed duplication.
- Macros to follow format of other drivers.
- Raw read and writes act upon the base address.
- Removed IsTX, IsRX, IsHDMI, and IsDP since these macros were acting
on the software and there are already associated macros for checking
the hardware. To remove confusion InstancePtr->Config.Is* is used
instead.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:40:11 +05:30
Andrei-Liviu Simion
27ad901f1d hdcp1x: Fixed internal API naming.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:39:58 +05:30
Andrei-Liviu Simion
c6d40dccdd hdcp1x: Single self-test function.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:39:44 +05:30
Andrei-Liviu Simion
f42ac7cd82 hdcp1x: Converged CfgInitialize to one top-level.
Initialization functions for the cipher, port, and directions are now invoked
from within the XHdcp1x_CfgInitialize function directly.

No need to do check for inconsistencies between HW and SW for protocol and
direction because this scenario will never happen unless SDK generates the
xparameters.h incorrectly. The self test is the more appropriate place for this
check.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:39:23 +05:30
Andrei-Liviu Simion
4157a3516d hdcp1x: Removed common structure and duplications.
Keep commonality in the top-level instance core structure.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:39:11 +05:30
Andrei-Liviu Simion
5edc951b10 hdcp1x: Cipher and port APIs to act on top-level.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:38:53 +05:30
Andrei-Liviu Simion
260237c241 hdcp1x: RX and TX state machine APIs to act on top-level.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:38:40 +05:30
Andrei-Liviu Simion
86b9f04fd3 hdcp1x: Added top-level config structure.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:38:29 +05:30
Andrei-Liviu Simion
4f0202854d hdcp1x: Optimized LookupConfig.
The way the CfgPtr is now consistent with the rest of the drivers.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:38:16 +05:30
Andrei-Liviu Simion
251c4f8ccd hdcp1x: Removed unused static function.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:38:04 +05:30
Andrei-Liviu Simion
d565651a98 hdcp1x: Fixed compilation warnings and errors.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:37:51 +05:30
Andrei-Liviu Simion
01291541a5 hdcp1x: Modifications for Xilinx standalone coding style.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:37:36 +05:30
Dan Burke
328077ad8b hdcp1x: Initial release.
High-bandwidth Content Protection v1.x from Fidus Systems Inc.

Reviewed-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
Acked-by: Shadul Shaikh <shaduls@xilinx.com>
2015-08-10 16:37:24 +05:30
Kinjal Pravinbhai Patel
996bc03be6 drivers: scugic: Added prints to xscugic_tapp_example for regression
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-10 14:27:00 +05:30
Kinjal Pravinbhai Patel
c057e98588 bsp: a53: modified translation table in a53 32bit bsp
This patch modifies a53 32bit bsp translation table to fix the
incorrect translation table entries for addresses beyond
0xfA000000

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-10 14:26:48 +05:30
Kinjal Pravinbhai Patel
959f06aa0b bsp: a53: change in 32bit bsp makefile
This patch removes floating point flags from 32bit bsp makefile
as floating point unit is disabled in bsp for now

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
2015-08-10 14:26:11 +05:30
Anurag Kumar Vulisha
802c5387a3 vdma: updated modifation history in xaxivdma.h
This patch updates the modification history on the axivdma.h to reflect the
support for 64 bit addressing.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-10 14:17:34 +05:30
Naga Sureshkumar Relli
ed58a06183 iomodule: Fix for iomodule external vector interrupts.
This patch handles iomodule external vector interrupts.

Signed-off-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
Reviewed-by: Kedareswara rao Appana <appanad@xilinx.com>
2015-08-10 14:16:52 +05:30
Rohit Consul
4037beef4a vprocss: Fixed PIP background color in supported video formats
-Bug fix for wrong pip background color when video format is
 changed
-Input stream color depth and pixel/clock must be overwritten
 by subsystem as these are not run time configurable
-Deinterlacer supports 480i/576i and 1080i. removed constraint
 for 1080i support only
-Updated mdd file to reflect new drivers versions -
  video_common_v2.0 and  axivdma_v6.0, in dependency list

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
2015-08-10 14:15:28 +05:30
Rohit Consul
6197ed604e v_vscaler: Update dependency driver version in mdd
Updated video common version to 2.0 to reflect new driver in repo

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-10 14:14:45 +05:30
Rohit Consul
bbbb4d5ef6 v_vcresampler: Update dependency driver version in mdd
Updated video common version to 2.0 to reflect new driver in repo
Removed hls generated comments in makefile

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-10 14:14:36 +05:30
Rohit Consul
400437fb0e v_letterbox: Bug fix video format update
-When setting up background color the video format should be
 updated to the current stream format. This not being done
 resulting in wrong colors in various color format inputs
-Updated video common version to 2.0 to reflect new driver in repo
-Removed hls generated comments in makefile

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-10 14:14:27 +05:30
Rohit Consul
206cf0e392 v_hscaler: Update dependency driver version
Updated video common version to 2.0 to reflect new driver in repo
Removed hls generated comments in makefile

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-10 14:14:18 +05:30
Rohit Consul
2d6a435b97 v_hcresampler: Update dependency driver version
Updated video common version to 2.0 to reflect new driver in repo
Removed hls generated comments in makefile

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-10 14:14:07 +05:30
Rohit Consul
bd4db0d1d2 v_deinterlacer: Update dependency driver version
Updated video common version to 2.0 to reflect new driver in repo
Removed hls generated comments in makefile
Added width and height to debug API

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-10 14:13:54 +05:30
Rohit Consul
10d5ad3858 v_csc: Update dependency driver version
Updated video common version to 2.0 to reflect new driver in repo
Removed hls generated comments in makefile

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-10 14:13:16 +05:30
Naga Sureshkumar Relli
fff236cfc2 ddrps: Add support for ps ddr.
This patch adds support for ps ddr.

Signed-off-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-10 13:27:49 +05:30
Nava kishore Manne
abc435be7c emaclite: Updated @addtogroup with appropriate version infromation.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-08 11:10:37 +05:30
Nava kishore Manne
b52173e3e4 axipmon: Updated @addtogroup with appropriate version infromation.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-08 11:10:30 +05:30
Nava kishore Manne
ff3a74d87a coresightps_dcc: Updated @addtogroup with appropriate version infromation.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-08 11:10:22 +05:30
Nava kishore Manne
de9fff832f cpu_cortexr5: Updated @addtogroup with appropriate version infromation.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-08 11:10:15 +05:30
Nava kishore Manne
71caca5066 iomodule: Updated @addtogroup with appropriate version infromation.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-08 11:10:08 +05:30
Nava kishore Manne
d6ff63b394 uartlite: Updated @addtogroup with appropriate version infromation.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-08 11:10:01 +05:30
Nava kishore Manne
dd7b7cb23f emacps: Updated @addtogroup with appropriate version infromation.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-08 11:09:53 +05:30
Nava kishore Manne
16c2c7689e axivdma: Updated @addtogroup with appropriate version infromation.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-08 11:09:37 +05:30
Nava kishore Manne
31a4c62837 axidma: Updated @addtogroup with appropriate version infromation.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-08 11:09:25 +05:30
Nava kishore Manne
f49038f773 axicdma: Updated @addtogroup with appropriate version infromation.
Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-08 11:08:50 +05:30
Jyotheeswar Reddy
b3ce29e2a1 PMUFW: Core: Clear DONT_SLEEP bit during initialization
DONT_SLEEP bit in PMU GLobal control register, if set,  wakes up the
microblaze from sleep state. This makes the "sleep" instruction
ineffective by making the MB to toggle between sleep and wake states
in the core loop. So this bit is cleared to prevent such a situation
and ensure that MB wakes up only in case of an interrupt event.

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
Acked-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-08-07 18:39:03 +05:30
Jyotheeswar Reddy
4ae20ca9bf PMUFW: Headers: Remove unused register definitions from PMU Local
Some registers in PMU Local register set are not intended to be
published out. So removing all register definitions which are not
used by PMU FW currently.

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
Tested-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-08-07 18:38:47 +05:30
Jyotheeswar Reddy
07377abe62 PMUFW: Exceptions: Log exception details and set FW error bit
Exception handler is modified to log the ESR and EAR registers
into persistent global storage registers(0,1) and set FW error bit-0.
If bit-0 of FWError group in ERROR_2 register set is configured to do
a SRST,then post reset, SW can read the reason for exception from
these persistent registers.

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-08-07 18:38:28 +05:30
Jyotheeswar Reddy
fd53261bc5 PMUFW: IPI: Add IPI Framework
Basic APIs are provided for modules to send/receive IPI messages.
These are wrappers around IPI driver functions and are intended to
support a common message structure. Currently only a module's IPI ID
is considered.This can be extended to include checksum and other fields in
IPI message and dispatching IPIs based on module id.

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-08-07 18:38:07 +05:30
Jyotheeswar Reddy
15dfa120ad PMUFW: EM: Integrate new Error Management framework as a module
This patch integrates the new EM framework and removes
redundant error handler files

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-08-07 18:37:40 +05:30
Jyotheeswar Reddy
a414510d6a PMUFW: EM: Add new error management framework
A framework to enable handling of HW errors reported via ERROR_1 and ERROR_2
registers in PMU GLOBAL space is provided. User can choose to register an
action for an error by using the provided API. An API is provided to enable
Error reporting via PSERR pin.

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-08-07 18:37:18 +05:30
Jyotheeswar Reddy
63266cf2b9 PMUFW: Scheduler: Fix interval comparision logic
Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-08-07 18:36:51 +05:30
Jyotheeswar Reddy
54d744d315 PMUFW: Core: Add API to remove a task from scheduler
Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-08-07 18:36:15 +05:30
Jyotheeswar Reddy
40cd4f3229 PMUFW: Mod: Add CSU lock down request to legacy module
Register for secure lock-down request from CSU and
call the corresponding ROM handler when this event occurs

Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-08-07 18:35:33 +05:30
Jyotheeswar Reddy
7968c6a661 PMUFW: Interrupts: Add CSU secure lock down interrupt handler
Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-08-07 18:35:12 +05:30
Jyotheeswar Reddy
f5b94e4ea2 PMUFW: Events: Add CSU secure lock down request events
Signed-off-by: Jyotheeswar Reddy <jyothee@xilinx.com>
2015-08-07 18:34:27 +05:30