Commit graph

10 commits

Author SHA1 Message Date
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