[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)
commit0e0cdd37709ba7ac9f0bff5de1b22f1b7987b04c
tree10fedbe7429bbb9afddd01215aef3cd490c31bdd
parent868d172b8ac23070418ec6265195e88e8d5dbe92
[ARM] Kirkwood: enable PCIe before reading device ID register

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>
arch/arm/mach-kirkwood/common.h
arch/arm/mach-kirkwood/pcie.c