diff options
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/hardware/iop3xx.h | 9 | ||||
-rw-r--r-- | include/asm-arm/mach/pci.h | 1 |
2 files changed, 2 insertions, 8 deletions
diff --git a/include/asm-arm/hardware/iop3xx.h b/include/asm-arm/hardware/iop3xx.h index ede377ec9147..18f6937f5010 100644 --- a/include/asm-arm/hardware/iop3xx.h +++ b/include/asm-arm/hardware/iop3xx.h | |||
@@ -29,6 +29,7 @@ extern void gpio_line_config(int line, int direction); | |||
29 | extern int gpio_line_get(int line); | 29 | extern int gpio_line_get(int line); |
30 | extern void gpio_line_set(int line, int value); | 30 | extern void gpio_line_set(int line, int value); |
31 | extern int init_atu; | 31 | extern int init_atu; |
32 | extern int iop3xx_get_init_atu(void); | ||
32 | #endif | 33 | #endif |
33 | 34 | ||
34 | 35 | ||
@@ -112,14 +113,6 @@ extern int init_atu; | |||
112 | #define IOP3XX_INIT_ATU_DISABLE -1 | 113 | #define IOP3XX_INIT_ATU_DISABLE -1 |
113 | #define IOP3XX_INIT_ATU_ENABLE 1 | 114 | #define IOP3XX_INIT_ATU_ENABLE 1 |
114 | 115 | ||
115 | #ifdef CONFIG_IOP3XX_ATU | ||
116 | #define iop3xx_get_init_atu(x) (init_atu == IOP3XX_INIT_ATU_DEFAULT ?\ | ||
117 | IOP3XX_INIT_ATU_ENABLE : init_atu) | ||
118 | #else | ||
119 | #define iop3xx_get_init_atu(x) (init_atu == IOP3XX_INIT_ATU_DEFAULT ?\ | ||
120 | IOP3XX_INIT_ATU_DISABLE : init_atu) | ||
121 | #endif | ||
122 | |||
123 | /* Messaging Unit */ | 116 | /* Messaging Unit */ |
124 | #define IOP3XX_IMR0 (volatile u32 *)IOP3XX_REG_ADDR(0x0310) | 117 | #define IOP3XX_IMR0 (volatile u32 *)IOP3XX_REG_ADDR(0x0310) |
125 | #define IOP3XX_IMR1 (volatile u32 *)IOP3XX_REG_ADDR(0x0314) | 118 | #define IOP3XX_IMR1 (volatile u32 *)IOP3XX_REG_ADDR(0x0314) |
diff --git a/include/asm-arm/mach/pci.h b/include/asm-arm/mach/pci.h index 24621c49a0c7..9d4f6b5ea419 100644 --- a/include/asm-arm/mach/pci.h +++ b/include/asm-arm/mach/pci.h | |||
@@ -55,6 +55,7 @@ void pci_common_init(struct hw_pci *); | |||
55 | extern int iop3xx_pci_setup(int nr, struct pci_sys_data *); | 55 | extern int iop3xx_pci_setup(int nr, struct pci_sys_data *); |
56 | extern struct pci_bus *iop3xx_pci_scan_bus(int nr, struct pci_sys_data *); | 56 | extern struct pci_bus *iop3xx_pci_scan_bus(int nr, struct pci_sys_data *); |
57 | extern void iop3xx_pci_preinit(void); | 57 | extern void iop3xx_pci_preinit(void); |
58 | extern void iop3xx_pci_preinit_cond(void); | ||
58 | 59 | ||
59 | extern int dc21285_setup(int nr, struct pci_sys_data *); | 60 | extern int dc21285_setup(int nr, struct pci_sys_data *); |
60 | extern struct pci_bus *dc21285_scan_bus(int nr, struct pci_sys_data *); | 61 | extern struct pci_bus *dc21285_scan_bus(int nr, struct pci_sys_data *); |