diff options
Diffstat (limited to 'include/asm-arm/arch-iop33x/hardware.h')
-rw-r--r-- | include/asm-arm/arch-iop33x/hardware.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/include/asm-arm/arch-iop33x/hardware.h b/include/asm-arm/arch-iop33x/hardware.h index 3ebfdc6fea99..0659cf94d040 100644 --- a/include/asm-arm/arch-iop33x/hardware.h +++ b/include/asm-arm/arch-iop33x/hardware.h | |||
@@ -1,8 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * linux/include/asm-arm/arch-iop33x/hardware.h | 2 | * include/asm-arm/arch-iop33x/hardware.h |
3 | */ | 3 | */ |
4 | #ifndef __ASM_ARCH_HARDWARE_H | 4 | |
5 | #define __ASM_ARCH_HARDWARE_H | 5 | #ifndef __HARDWARE_H |
6 | #define __HARDWARE_H | ||
6 | 7 | ||
7 | #include <asm/types.h> | 8 | #include <asm/types.h> |
8 | 9 | ||
@@ -15,14 +16,15 @@ | |||
15 | * The PCI IO space is located at virtual 0xfe000000 from physical | 16 | * The PCI IO space is located at virtual 0xfe000000 from physical |
16 | * 0x90000000. The PCI BARs must be programmed with physical addresses, | 17 | * 0x90000000. The PCI BARs must be programmed with physical addresses, |
17 | * but when we read them, we convert them to virtual addresses. See | 18 | * but when we read them, we convert them to virtual addresses. See |
18 | * arch/arm/mach-iop33x/pci.c | 19 | * arch/arm/mach-iop3xx/iop3xx-pci.c |
19 | */ | 20 | */ |
20 | 21 | #define pcibios_assign_all_busses() 1 | |
21 | #define pcibios_assign_all_busses() 1 | ||
22 | #define PCIBIOS_MIN_IO 0x00000000 | 22 | #define PCIBIOS_MIN_IO 0x00000000 |
23 | #define PCIBIOS_MIN_MEM 0x00000000 | 23 | #define PCIBIOS_MIN_MEM 0x00000000 |
24 | 24 | ||
25 | #ifndef __ASSEMBLY__ | 25 | #ifndef __ASSEMBLY__ |
26 | void iop33x_init_irq(void); | ||
27 | |||
26 | extern struct platform_device iop33x_uart0_device; | 28 | extern struct platform_device iop33x_uart0_device; |
27 | extern struct platform_device iop33x_uart1_device; | 29 | extern struct platform_device iop33x_uart1_device; |
28 | #endif | 30 | #endif |
@@ -32,7 +34,7 @@ extern struct platform_device iop33x_uart1_device; | |||
32 | * Generic chipset bits | 34 | * Generic chipset bits |
33 | * | 35 | * |
34 | */ | 36 | */ |
35 | #include "iop331.h" | 37 | #include "iop33x.h" |
36 | 38 | ||
37 | /* | 39 | /* |
38 | * Board specific bits | 40 | * Board specific bits |
@@ -40,4 +42,5 @@ extern struct platform_device iop33x_uart1_device; | |||
40 | #include "iq80331.h" | 42 | #include "iq80331.h" |
41 | #include "iq80332.h" | 43 | #include "iq80332.h" |
42 | 44 | ||
43 | #endif /* _ASM_ARCH_HARDWARE_H */ | 45 | |
46 | #endif | ||