[ARM] Kirkwood: enable PCIe before reading device ID register
commit0e0cdd37709ba7ac9f0bff5de1b22f1b7987b04c
authorEric Cooper <ecc@cmu.edu>
Wed, 2 Feb 2011 22:16:10 +0000 (2 17:16 -0500)
committerNicolas Pitre <nico@fluxnic.net>
Thu, 3 Mar 2011 21:26:56 +0000 (3 16:26 -0500)
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