]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fpga: zynqpl: Clear loopback mode during device init
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Sat, 15 Jun 2013 00:43:24 +0000 (17:43 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 12 Aug 2013 06:52:01 +0000 (08:52 +0200)
commit5f93227ce02d9cafa11704c807a80dcbde129f8c
tree16d3a8a64791cac1a2047f16f65666c6e4ca28d7
parentfd2b10b6d6a0d5e94d6b34faa634e9722a5465a8
fpga: zynqpl: Clear loopback mode during device init

Some versions of the Zynq first stage boot loader enable PCAP loopback
during boot regardless of whether or not the boot image includes PL
configuration. This behavior only appears in certain boot modes (notably
QSPI boot). Attempting to configure the PL with the loopback bit set
will result in timeouts and will prevent successful configuration.

In order to avoid this problem, and to avoid dependency on the version
of the FSBL used to boot the system, ensure that the loopback enable bit
is cleared when loading the driver.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/fpga/zynqpl.c