[ARM] Kirkwood: enable PCIe before reading device ID register
authorEric Cooper <ecc@cmu.edu>
Wed, 2 Feb 2011 22:16:10 +0000 (17:16 -0500)
committerNicolas Pitre <nico@fluxnic.net>
Thu, 3 Mar 2011 21:26:56 +0000 (16:26 -0500)
PCIe may have been disabled (by kirkwood_clock_gate)
if this kernel was started by kexec.  Make sure PCIe
is enabled before attempting to access the device ID
register, otherwise the system will hang.

Signed-off-by: Eric Cooper <ecc@cmu.edu>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>

No differences found