Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Lennert Buytenhek | 3f7e581 | 2006-09-18 23:10:26 +0100 | [diff] [blame] | 2 | * linux/include/asm-arm/arch-iop32x/hardware.h |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | */ |
| 4 | #ifndef __ASM_ARCH_HARDWARE_H |
| 5 | #define __ASM_ARCH_HARDWARE_H |
| 6 | |
| 7 | #include <asm/types.h> |
| 8 | |
| 9 | /* |
| 10 | * Note about PCI IO space mappings |
| 11 | * |
| 12 | * To make IO space accesses efficient, we store virtual addresses in |
| 13 | * the IO resources. |
| 14 | * |
| 15 | * The PCI IO space is located at virtual 0xfe000000 from physical |
| 16 | * 0x90000000. The PCI BARs must be programmed with physical addresses, |
| 17 | * but when we read them, we convert them to virtual addresses. See |
| 18 | * arch/arm/mach-iop3xx/iop3xx-pci.c |
| 19 | */ |
| 20 | |
| 21 | #define pcibios_assign_all_busses() 1 |
Lennert Buytenhek | 7e9740b | 2006-09-18 23:17:36 +0100 | [diff] [blame^] | 22 | #define PCIBIOS_MIN_IO 0x00000000 |
| 23 | #define PCIBIOS_MIN_MEM 0x00000000 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | |
| 25 | |
| 26 | /* |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 | * Generic chipset bits |
| 28 | * |
| 29 | */ |
| 30 | #include "iop321.h" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | |
| 32 | /* |
| 33 | * Board specific bits |
| 34 | */ |
| 35 | #include "iq80321.h" |
| 36 | #include "iq31244.h" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 37 | |
| 38 | #endif /* _ASM_ARCH_HARDWARE_H */ |