diff options
author | Per Andersson <avtobiff@gmail.com> | 2008-08-11 06:00:52 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@cam.org> | 2008-08-21 22:15:17 -0400 |
commit | 7a6bb2622692495d1b7445a3e8c257601b803b02 (patch) | |
tree | 5735707076af1295aa6ef9be2413dfab291bd6da /arch/arm/mach-orion5x/common.h | |
parent | 6a55617ed5d1aa62b850de2cf66f5ede2eef4825 (diff) |
[ARM] Orion: Fix boot crash on Kurobox Pro
The Kurobox Pro crashes when any of the PCI controller registers
are accessed. This patch adds a function to the Orion PCI handling
code that board support code can call to disable enumerating the
PCI bus entirely, and makes the Kurobox Pro PCI-related init code
call this function.
Signed-off-by: Per Andersson <avtobiff@gmail.com>
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Diffstat (limited to 'arch/arm/mach-orion5x/common.h')
-rw-r--r-- | arch/arm/mach-orion5x/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-orion5x/common.h b/arch/arm/mach-orion5x/common.h index e75bd7004b94..0bd195551a27 100644 --- a/arch/arm/mach-orion5x/common.h +++ b/arch/arm/mach-orion5x/common.h | |||
@@ -41,6 +41,7 @@ struct pci_bus; | |||
41 | struct pci_sys_data; | 41 | struct pci_sys_data; |
42 | 42 | ||
43 | void orion5x_pcie_id(u32 *dev, u32 *rev); | 43 | void orion5x_pcie_id(u32 *dev, u32 *rev); |
44 | void orion5x_pci_disable(void); | ||
44 | void orion5x_pci_set_cardbus_mode(void); | 45 | void orion5x_pci_set_cardbus_mode(void); |
45 | int orion5x_pci_sys_setup(int nr, struct pci_sys_data *sys); | 46 | int orion5x_pci_sys_setup(int nr, struct pci_sys_data *sys); |
46 | struct pci_bus *orion5x_pci_sys_scan_bus(int nr, struct pci_sys_data *sys); | 47 | struct pci_bus *orion5x_pci_sys_scan_bus(int nr, struct pci_sys_data *sys); |