diff options
Diffstat (limited to 'arch/arm/mach-iop32x/include/mach/hardware.h')
| -rw-r--r-- | arch/arm/mach-iop32x/include/mach/hardware.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/arm/mach-iop32x/include/mach/hardware.h b/arch/arm/mach-iop32x/include/mach/hardware.h new file mode 100644 index 00000000000..d559c4e6095 --- /dev/null +++ b/arch/arm/mach-iop32x/include/mach/hardware.h | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | /* | ||
| 2 | * arch/arm/mach-iop32x/include/mach/hardware.h | ||
| 3 | */ | ||
| 4 | |||
| 5 | #ifndef __HARDWARE_H | ||
| 6 | #define __HARDWARE_H | ||
| 7 | |||
| 8 | #include <asm/types.h> | ||
| 9 | |||
| 10 | /* | ||
| 11 | * Note about PCI IO space mappings | ||
| 12 | * | ||
| 13 | * To make IO space accesses efficient, we store virtual addresses in | ||
| 14 | * the IO resources. | ||
| 15 | * | ||
| 16 | * The PCI IO space is located at virtual 0xfe000000 from physical | ||
| 17 | * 0x90000000. The PCI BARs must be programmed with physical addresses, | ||
| 18 | * but when we read them, we convert them to virtual addresses. See | ||
| 19 | * arch/arm/plat-iop/pci.c. | ||
| 20 | */ | ||
| 21 | #define pcibios_assign_all_busses() 1 | ||
| 22 | #define PCIBIOS_MIN_IO 0x00000000 | ||
| 23 | #define PCIBIOS_MIN_MEM 0x00000000 | ||
| 24 | |||
| 25 | #ifndef __ASSEMBLY__ | ||
| 26 | void iop32x_init_irq(void); | ||
| 27 | #endif | ||
| 28 | |||
| 29 | |||
| 30 | /* | ||
| 31 | * Generic chipset bits | ||
| 32 | */ | ||
| 33 | #include "iop32x.h" | ||
| 34 | |||
| 35 | /* | ||
| 36 | * Board specific bits | ||
| 37 | */ | ||
| 38 | #include "glantank.h" | ||
| 39 | #include "iq80321.h" | ||
| 40 | #include "iq31244.h" | ||
| 41 | #include "n2100.h" | ||
| 42 | |||
| 43 | |||
| 44 | #endif | ||
