diff options
Diffstat (limited to 'arch/arm/mach-spear3xx/include/mach/generic.h')
-rw-r--r-- | arch/arm/mach-spear3xx/include/mach/generic.h | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/arch/arm/mach-spear3xx/include/mach/generic.h b/arch/arm/mach-spear3xx/include/mach/generic.h index af7e02c909a3..8e30636909ef 100644 --- a/arch/arm/mach-spear3xx/include/mach/generic.h +++ b/arch/arm/mach-spear3xx/include/mach/generic.h | |||
@@ -14,11 +14,11 @@ | |||
14 | #ifndef __MACH_GENERIC_H | 14 | #ifndef __MACH_GENERIC_H |
15 | #define __MACH_GENERIC_H | 15 | #define __MACH_GENERIC_H |
16 | 16 | ||
17 | #include <asm/mach/time.h> | ||
18 | #include <asm/mach/map.h> | ||
19 | #include <linux/init.h> | 17 | #include <linux/init.h> |
20 | #include <linux/platform_device.h> | 18 | #include <linux/platform_device.h> |
21 | #include <linux/amba/bus.h> | 19 | #include <linux/amba/bus.h> |
20 | #include <asm/mach/time.h> | ||
21 | #include <asm/mach/map.h> | ||
22 | #include <plat/padmux.h> | 22 | #include <plat/padmux.h> |
23 | 23 | ||
24 | /* spear3xx declarations */ | 24 | /* spear3xx declarations */ |
@@ -33,14 +33,14 @@ | |||
33 | /* Add spear3xx family device structure declarations here */ | 33 | /* Add spear3xx family device structure declarations here */ |
34 | extern struct amba_device gpio_device; | 34 | extern struct amba_device gpio_device; |
35 | extern struct amba_device uart_device; | 35 | extern struct amba_device uart_device; |
36 | extern struct sys_timer spear_sys_timer; | 36 | extern struct sys_timer spear3xx_timer; |
37 | 37 | ||
38 | /* Add spear3xx family function declarations here */ | 38 | /* Add spear3xx family function declarations here */ |
39 | void __init clk_init(void); | 39 | void __init clk_init(void); |
40 | void __init spear_setup_timer(void); | ||
40 | void __init spear3xx_map_io(void); | 41 | void __init spear3xx_map_io(void); |
41 | void __init spear3xx_init_irq(void); | 42 | void __init spear3xx_init_irq(void); |
42 | void __init spear3xx_init(void); | 43 | void __init spear3xx_init(void); |
43 | void spear_pmx_init(struct pmx_driver *pmx_driver, uint base, uint size); | ||
44 | 44 | ||
45 | /* pad mux declarations */ | 45 | /* pad mux declarations */ |
46 | #define PMX_FIRDA_MASK (1 << 14) | 46 | #define PMX_FIRDA_MASK (1 << 14) |
@@ -129,12 +129,10 @@ extern struct pmx_dev pmx_telecom_camera; | |||
129 | extern struct pmx_dev pmx_telecom_dac; | 129 | extern struct pmx_dev pmx_telecom_dac; |
130 | extern struct pmx_dev pmx_telecom_i2s; | 130 | extern struct pmx_dev pmx_telecom_i2s; |
131 | extern struct pmx_dev pmx_telecom_boot_pins; | 131 | extern struct pmx_dev pmx_telecom_boot_pins; |
132 | extern struct pmx_dev pmx_telecom_sdio_4bit; | 132 | extern struct pmx_dev pmx_telecom_sdhci_4bit; |
133 | extern struct pmx_dev pmx_telecom_sdio_8bit; | 133 | extern struct pmx_dev pmx_telecom_sdhci_8bit; |
134 | extern struct pmx_dev pmx_gpio1; | 134 | extern struct pmx_dev pmx_gpio1; |
135 | 135 | ||
136 | void spear300_pmx_init(void); | ||
137 | |||
138 | /* Add spear300 machine function declarations here */ | 136 | /* Add spear300 machine function declarations here */ |
139 | void __init spear300_init(void); | 137 | void __init spear300_init(void); |
140 | 138 | ||
@@ -154,8 +152,6 @@ extern struct pmx_dev pmx_fsmc; | |||
154 | extern struct pmx_dev pmx_rs485_0_1; | 152 | extern struct pmx_dev pmx_rs485_0_1; |
155 | extern struct pmx_dev pmx_tdm0; | 153 | extern struct pmx_dev pmx_tdm0; |
156 | 154 | ||
157 | void spear310_pmx_init(void); | ||
158 | |||
159 | /* Add spear310 machine function declarations here */ | 155 | /* Add spear310 machine function declarations here */ |
160 | void __init spear310_init(void); | 156 | void __init spear310_init(void); |
161 | 157 | ||
@@ -176,14 +172,14 @@ extern struct pmx_dev pmx_clcd; | |||
176 | extern struct pmx_dev pmx_emi; | 172 | extern struct pmx_dev pmx_emi; |
177 | extern struct pmx_dev pmx_fsmc; | 173 | extern struct pmx_dev pmx_fsmc; |
178 | extern struct pmx_dev pmx_spp; | 174 | extern struct pmx_dev pmx_spp; |
179 | extern struct pmx_dev pmx_sdio; | 175 | extern struct pmx_dev pmx_sdhci; |
180 | extern struct pmx_dev pmx_i2s; | 176 | extern struct pmx_dev pmx_i2s; |
181 | extern struct pmx_dev pmx_uart1; | 177 | extern struct pmx_dev pmx_uart1; |
182 | extern struct pmx_dev pmx_uart1_modem; | 178 | extern struct pmx_dev pmx_uart1_modem; |
183 | extern struct pmx_dev pmx_uart2; | 179 | extern struct pmx_dev pmx_uart2; |
184 | extern struct pmx_dev pmx_touchscreen; | 180 | extern struct pmx_dev pmx_touchscreen; |
185 | extern struct pmx_dev pmx_can; | 181 | extern struct pmx_dev pmx_can; |
186 | extern struct pmx_dev pmx_sdio_led; | 182 | extern struct pmx_dev pmx_sdhci_led; |
187 | extern struct pmx_dev pmx_pwm0; | 183 | extern struct pmx_dev pmx_pwm0; |
188 | extern struct pmx_dev pmx_pwm1; | 184 | extern struct pmx_dev pmx_pwm1; |
189 | extern struct pmx_dev pmx_pwm2; | 185 | extern struct pmx_dev pmx_pwm2; |
@@ -195,8 +191,6 @@ extern struct pmx_dev pmx_smii0; | |||
195 | extern struct pmx_dev pmx_smii1; | 191 | extern struct pmx_dev pmx_smii1; |
196 | extern struct pmx_dev pmx_i2c1; | 192 | extern struct pmx_dev pmx_i2c1; |
197 | 193 | ||
198 | void spear320_pmx_init(void); | ||
199 | |||
200 | /* Add spear320 machine function declarations here */ | 194 | /* Add spear320 machine function declarations here */ |
201 | void __init spear320_init(void); | 195 | void __init spear320_init(void); |
202 | 196 | ||