fpga: zynqmp: Modify PL bitstream loading sequence
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Tue, 21 Aug 2018 10:14:50 +0000 (15:44 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 26 Sep 2018 08:15:00 +0000 (10:15 +0200)
commitfbf7fb0f9fe84e7bb24d184d0783944411400f08
tree44b42704370df141933c169df100245461dec538
parentb94a8271cc42086f3f75941c15bba265f409601d
fpga: zynqmp: Modify PL bitstream loading sequence

This patch modifies PL bitstream loading sequence as per
latest Xilfpga which supports all variants of bitstream images
generated from vivado and from bootgen. With this new change in
Xilfpga, uboot doesn't need to validate and swap bitstream as it will
be taken care inside Xilfpga. ZynqMP PL driver now checks for supporting
PMUFW version before skipping the validation and swap sequence as there
can be old PMUFW which doesn't supports this feature. In this case, driver
uses old way of PL bitstream loading sequence.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/include/asm/arch-zynqmp/sys_proto.h
drivers/fpga/zynqmppl.c