Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
c852ac80 LB |
2 | #ifndef __HARDWARE_H |
3 | #define __HARDWARE_H | |
1da177e4 LT |
4 | |
5 | #include <asm/types.h> | |
6 | ||
7 | /* | |
8 | * Note about PCI IO space mappings | |
9 | * | |
10 | * To make IO space accesses efficient, we store virtual addresses in | |
11 | * the IO resources. | |
12 | * | |
13 | * The PCI IO space is located at virtual 0xfe000000 from physical | |
c852ac80 LB |
14 | * 0x90000000. The PCI BARs must be programmed with physical addresses, |
15 | * but when we read them, we convert them to virtual addresses. See | |
16 | * arch/arm/plat-iop/pci.c. | |
1da177e4 | 17 | */ |
1da177e4 | 18 | |
c852ac80 LB |
19 | #ifndef __ASSEMBLY__ |
20 | void iop32x_init_irq(void); | |
21 | #endif | |
22 | ||
1da177e4 | 23 | |
1da177e4 LT |
24 | /* |
25 | * Generic chipset bits | |
1da177e4 | 26 | */ |
a1f487d7 | 27 | #include "iop3xx.h" |
1da177e4 LT |
28 | |
29 | /* | |
30 | * Board specific bits | |
31 | */ | |
0c92e830 | 32 | #include "glantank.h" |
1da177e4 LT |
33 | #include "iq80321.h" |
34 | #include "iq31244.h" | |
e60d07b6 | 35 | #include "n2100.h" |
1da177e4 | 36 | |
c852ac80 LB |
37 | |
38 | #endif |