diff options
Diffstat (limited to 'include/asm-arm/arch-iop32x/hardware.h')
-rw-r--r-- | include/asm-arm/arch-iop32x/hardware.h | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/include/asm-arm/arch-iop32x/hardware.h b/include/asm-arm/arch-iop32x/hardware.h index 16d0630ab252..6a3001f2f7e0 100644 --- a/include/asm-arm/arch-iop32x/hardware.h +++ b/include/asm-arm/arch-iop32x/hardware.h | |||
@@ -1,8 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * linux/include/asm-arm/arch-iop32x/hardware.h | 2 | * include/asm-arm/arch-iop32x/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 | ||
@@ -13,21 +14,23 @@ | |||
13 | * the IO resources. | 14 | * the IO resources. |
14 | * | 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-iop3xx/iop3xx-pci.c | 19 | * arch/arm/plat-iop/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__ | ||
26 | void iop32x_init_irq(void); | ||
27 | #endif | ||
28 | |||
25 | 29 | ||
26 | /* | 30 | /* |
27 | * Generic chipset bits | 31 | * Generic chipset bits |
28 | * | ||
29 | */ | 32 | */ |
30 | #include "iop321.h" | 33 | #include "iop32x.h" |
31 | 34 | ||
32 | /* | 35 | /* |
33 | * Board specific bits | 36 | * Board specific bits |
@@ -35,4 +38,5 @@ | |||
35 | #include "iq80321.h" | 38 | #include "iq80321.h" |
36 | #include "iq31244.h" | 39 | #include "iq31244.h" |
37 | 40 | ||
38 | #endif /* _ASM_ARCH_HARDWARE_H */ | 41 | |
42 | #endif | ||