Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 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 | */ |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 21 | |
| 22 | #ifndef __ASSEMBLY__ |
| 23 | void iop32x_init_irq(void); |
| 24 | #endif |
| 25 | |
| 26 | |
| 27 | /* |
| 28 | * Generic chipset bits |
| 29 | */ |
| 30 | #include "iop32x.h" |
| 31 | |
| 32 | /* |
| 33 | * Board specific bits |
| 34 | */ |
| 35 | #include "glantank.h" |
| 36 | #include "iq80321.h" |
| 37 | #include "iq31244.h" |
| 38 | #include "n2100.h" |
| 39 | |
| 40 | |
| 41 | #endif |