diff options
author | Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> | 2008-03-18 04:36:31 +1100 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2008-03-26 07:27:21 -0500 |
commit | 4c58f8fe2e84ba76a4bef01cbd987b5ce62771c3 (patch) | |
tree | 6cad4a17085b51e29e757fdd0b39cca3775beb34 /COPYING | |
parent | 6b06fdbaf9eb9f208a83540265a6a82bf1049a41 (diff) |
[POWERPC] Xilinx: hwicap: Verify sync before reading idcode.
It appears that in some cases, the sync word might not be recognized
by the hardware correctly. If this happens, then attempting to read
from the port results in an unrecoverable error because of the design
of the FPGA core. This patch updates the code to check the status of
the device before reading the IDCODE, in order to avoid entering this
unrecoverable state. This patch also adds additional NOOP commands
into the sychronization sequence, which appears to be necessary to
avoid the condition on some hardware.
Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions