Commit graph

746 commits

Author SHA1 Message Date
Andrei-Liviu Simion
2a2726b7a9 dp: mst: Fixed XDp_SendSbMsgFragment comment to reflect new TX/RX commonality.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:13 +05:30
Andrei-Liviu Simion
3f2598ff25 dp: rx: mst: Functionality to break a sideband message into multiple fragments.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:13 +05:30
Andrei-Liviu Simion
8f1e0f1d99 dp: mst: Renamed CRC functions to indicate commonality between RX and TX cases.
Both RX and TX cases use the CRC functions so having *Tx* in the function name
is incorrect.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:12 +05:30
Andrei-Liviu Simion
4f870ba9da dp: mst: Modified body CRC calculation to handle fragmented sideband messages.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:12 +05:30
Andrei-Liviu Simion
d18040e44d dp: mst: Modified XDp_SendSbMsgFragment to handle both RX and TX cases.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:11 +05:30
Andrei-Liviu Simion
6f95aee007 dp: mst: Renamed sending a sideband message to reflect RX and TX commonalities.
Both RX and TX use XDp_SendSbMsgFragment as a base layer for sending messages.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:11 +05:30
Andrei-Liviu Simion
05ab36ac68 dp: mst: Updated the sideband message body structure for larger messages.
Larger messages will need to be split into multiple fragments.
- The MsgData member carries all information.
- The FragmentNum member indicates the last fragment processed.
- The header reflects the latest fragment.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:10 +05:30
Andrei-Liviu Simion
c2b18c9244 dp: rx: mst: Add support to write down reply in response to a sideband message.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:10 +05:30
Andrei-Liviu Simion
cf7f6f2126 dp: mst: Both RX and TX use the transaction to message format helper function.
Changed naming to reflect commonality.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:09 +05:30
Andrei-Liviu Simion
40a6c28bcf dp: rx: mst: Added interrupt handlers.
1) Down request for MST sideband messages TX to RX.
2) Down reply for MST sideband messages from RX to TX.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:08 +05:30
Andrei-Liviu Simion
8bbd926b0b dp: rx: Initialization now enables PHY reset during training and rate changes.
The IP documentation "recommends" enabling the following:
- Issuing reset at every training iteration.
- Issuing reset at every link rate change.
- Issuing reset at start of training pattern 1.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:08 +05:30
Andrei-Liviu Simion
1c42a7097b dp: tx: Added sink count register field definitions.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:07 +05:30
Andrei-Liviu Simion
6b2f2b94b5 dp: tx: Removed interrupt masking from the interrupt handler.
No need for this since the handler will never be called if the interrupts are
masked in the first place.

Also, by default, nested interrupts are disabled and it is up to the user to
explicitly request nested interrupts - allow this.

The interrupt mask should already apply in hardware.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:06 +05:30
Andrei-Liviu Simion
e19f8a680f dp: tx: Minor clean-up for readability.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:06 +05:30
Andrei-Liviu Simion
f016a6d3cd dp: tx: Re-enable link after the training pattern disabled.
Even if link training succeeds, sometimes, the link will fall if the link is
enabled prior to the training pattern being turned off.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:05 +05:30
Andrei-Liviu Simion
332ba9d225 dp: tx: Training should fail if clock recovery fails on max voltage.
As required by DisplayPort compliance, the clock recovery sequence should
fail if all lanes haven't completed clock recovery on the first attempt
using the maximum voltage swing supported.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:05 +05:30
Andrei-Liviu Simion
78cccda094 dp: tx: Always ensure that any pending AUX transactions have completed.
Prior to initiating a new AUX transaction, always ensure that any pending
transactions have completed.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:04 +05:30
Andrei-Liviu Simion
2cb307c7d5 dp: tx: Ensure that for AUX transactions, the received bytes matches.
Verify that the AUX transaction replied with the expected number of bytes.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:03 +05:30
Andrei-Liviu Simion
11f81b0d62 dp: tx: Modified waiting on AUX reply to operate on REPLY_STATUS.
AUX reply now makes use of the REPLY_STATUS register rather than
INTERRUPT_STATUS. It seems that INTERRUPT_STATUS may be updated before
REPLY_STATUS gets updated, resulting in a race condition.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:01 +05:30
Andrei-Liviu Simion
9b8536c1aa dp: Updated to version to 2.0.
Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:01 +05:30
Andrei-Liviu Simion
903d859429 dp: New version v2.0.
Copied v1.0 directory to v2.0.

Deprecated version 1.0.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-07-07 00:12:00 +05:30
Nava kishore Manne
ce10360848 Revert "sw_apps:zynqmp_fsbl: Changed alignment of MMU tables for A53"
This reverts commit 6713239caf3a66e29826de88ef0638ca39c0628c.
2015-07-06 23:45:58 +05:30
Naga Sureshkumar Relli
0a7fcbc746 xilflash_v4_1: Added Pass/Fail string to readwrite_example.
This patch adds Pass/Fail string to xilflash_readwrite_example.

Signed-off-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
2015-07-06 11:49:25 +05:30
Bhavik Ameta
a2f0af55aa sw_services:xilsecure: Windows build issue fixed
Makefile has been corrected to fix the build issue on Windows

Signed-off-by: Bhavik Ameta <bameta@xilinx.com>
2015-07-06 10:48:30 +05:30
Sarat Chand Savitala
64e5e95917 sw_apps:zynqmp_fsbl: Fix in ATF handoff parameters for destination CPU
This fix populates the correct A53 CPU to which FSBL has to
hand off when partition is ATF.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-07-06 10:30:08 +05:30
Sarat Chand Savitala
0133313ae5 sw_apps:zynqmp_fsbl: Changed alignment of MMU tables for A53
This enables saving of some OCM space for FSBL.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-07-06 10:30:06 +05:30
Sarat Chand Savitala
9083a0a512 sw_apps:zynqmp_fsbl: Fix to avoid conflict with ATF Handoff parameters location
This fix stores FSBL's ATF Handoff parameters at fixed address towards
end of OCM so that ATF can avoid conflict with its sections.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-07-06 10:30:05 +05:30
Nava kishore Manne
04f120953b Revert "bsp: xil_printf: Specify attribute(format)"
This reverts commit 91606d4ae07a49dd5422b5e3bf2ed7a477296263.
2015-07-06 10:20:05 +05:30
P L Sai Krishna
42f46f2ddb xilffs: Added notes in the example.
This patch add notes in the example.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-07-02 17:22:51 +05:30
P L Sai Krishna
cfc2e87b18 zynqmp_fsbl: Added read only option and enabled it.
This patch add read only option and enabled it in mss
file for the Zynqmp fsbl.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-07-02 17:22:51 +05:30
P L Sai Krishna
d2fc5aa4ab xilffs: Added Read_Only option.
This patch modifies .mld and .tcl files to provide the
Read_Only option to the user. By default this option
is false.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-07-02 17:22:50 +05:30
P L Sai Krishna
746db5f257 xilffs: Removed compilation errors,added ReadOnly option.
This patch removes compilation errors in xilffs library.
This errors are coming when we configure ReadOnly, use
StringFunctions and use LFN options. This patch also does
configuring _FS_READONLY macro based on the option given
by the user.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-07-02 17:22:50 +05:30
Kalyani Tummala
633480b43e intc: Prevent the duplication of entries
if one xconstant is used for multiple lines then there are multiple entries
created. Prevent the same.

Signed-off-by:  Kalyani Tummala <kalyani@xilinx.com>
Signed-off-by: Shubhrajyoti Datta <shubhraj@xilinx.com>
2015-07-01 12:01:53 +05:30
Shubhrajyoti Datta
e703803892 intc: Create a new version v3.4
This patch creates a new v3.4 of intc driver and deprecates older v3.3.

Signed-off-by: Shubhrajyoti Datta <shubhraj@xilinx.com>
2015-07-01 12:01:52 +05:30
Sarat Chand Savitala
58e0fb3ac2 sw_apps:zynqmp_fsbl: Updated reset release sequence for A53
Clock enable is now done before release of reset for A53.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-07-01 11:57:44 +05:30
Sarat Chand Savitala
1f87f492b1 sw_apps:zynqmp_fsbl: Updated bin file naming scheme for SD
For SD and eMMC, BIN filenames now follow convention BOOTXXXX.BIN.
FSBL now updated as per this change.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-07-01 11:57:43 +05:30
Nava kishore Manne
0ce98191e9 Revert "bsp: a53: added support for 64bit print in xil_printf"
This reverts commit 546c719e6729eb90daea3027269373542b198668.
2015-07-01 11:41:06 +05:30
P L Sai Krishna
456ed53663 xilisf: Removed compilation errors on DC1.
This patch removes compilation errors by enabling the
IntelStmFlashInitialize function for STM flash family
on DC1.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
2015-06-26 16:56:17 +05:30
Kinjal Pravinbhai Patel
af8728de98 drivers: scugic: added XScuGic_InterruptMaptoCpu API to scugic
This patch adds API XScuGic_InterruptMaptoCpu for mapping the
interrupts to specified cpu

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-06-26 16:56:17 +05:30
Kinjal Pravinbhai Patel
133156ba96 bsp: r5: added MPU Region setting API with size
This patch modifies xil_mpu.c to add the API Xil_SetMPURegion
which provide the settings for a MPU region with size

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-06-26 16:56:16 +05:30
Kinjal Pravinbhai Patel
42bc9f3698 bsp: a53: added support for 64bit print in xil_printf
This patch modifies xil_printf to support prints for 64bit digits
for hexadecimal format

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-06-26 16:56:15 +05:30
Nava kishore Manne
7a7303eaaf Changed the file format from PC to UNIX 2015-06-23 16:32:15 +05:30
Soren Brinkmann
bacc86609f bsp: xil_printf: Specify attribute(format)
Specify the format attribute for the xil_printf() function to allow the
compiler to do printf-style checking of the format string and arguments.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-06-22 15:32:59 +05:30
Soren Brinkmann
ef374e062b bsp: xil_printf: Handle 'u' conversions
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-06-22 15:32:59 +05:30
Soren Brinkmann
3620711f05 bsp: xil_printf: Handle 'p' conversions
Treat 'p' conversions as alias of 'x'. Strictly, not fully correct, but
better than ignoring them.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-06-22 15:32:58 +05:30
Soren Brinkmann
b0c3014a99 bsp: xil_printf: Handle 'X' conversions
Treat 'X' conversions as alias of 'x'. Strictly, that is not fully
correct, but still better than ignoring them.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-06-22 15:32:58 +05:30
Soren Brinkmann
68f0238f9a bsp: xil_printf: Handle 'i' conversion specifier
Treat 'i' as alias for 'd'.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
2015-06-22 15:32:57 +05:30
Kinjal Pravinbhai Patel
d240f28ea4 drivers: scugic: added support for peripheral test for ZynqMP SOC
This patch modifies testapp tcl to support peripheral test for
ZynqMP SOC by checking for a processor name

Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-06-22 15:12:29 +05:30
Kinjal Pravinbhai Patel
de71767f08 drivers: scugic: deprecated version 3.0 and created a new minor version 3.1
Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com>
2015-06-22 15:11:20 +05:30
Sarat Chand Savitala
c7791d8bb0 sw_services:xilsecure: Secure bitstream support added
This patch adds support to decrypt PL bitstream.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
2015-06-22 11:31:52 +05:30