diff options
Diffstat (limited to 'arch/arm/mach-pxa/pxa25x.c')
-rw-r--r-- | arch/arm/mach-pxa/pxa25x.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/arch/arm/mach-pxa/pxa25x.c b/arch/arm/mach-pxa/pxa25x.c index 344b3282caf9..6c57522e2469 100644 --- a/arch/arm/mach-pxa/pxa25x.c +++ b/arch/arm/mach-pxa/pxa25x.c | |||
@@ -36,12 +36,6 @@ | |||
36 | #include "devices.h" | 36 | #include "devices.h" |
37 | #include "clock.h" | 37 | #include "clock.h" |
38 | 38 | ||
39 | int cpu_is_pxa26x(void) | ||
40 | { | ||
41 | return cpu_is_pxa250() && ((BOOT_DEF & 0x8) == 0); | ||
42 | } | ||
43 | EXPORT_SYMBOL_GPL(cpu_is_pxa26x); | ||
44 | |||
45 | /* | 39 | /* |
46 | * Various clock factors driven by the CCCR register. | 40 | * Various clock factors driven by the CCCR register. |
47 | */ | 41 | */ |
@@ -319,13 +313,21 @@ void __init pxa25x_init_irq(void) | |||
319 | pxa_init_gpio(85, pxa25x_set_wake); | 313 | pxa_init_gpio(85, pxa25x_set_wake); |
320 | } | 314 | } |
321 | 315 | ||
316 | #ifdef CONFIG_CPU_PXA26x | ||
317 | void __init pxa26x_init_irq(void) | ||
318 | { | ||
319 | pxa_init_irq(32, pxa25x_set_wake); | ||
320 | pxa_init_gpio(90, pxa25x_set_wake); | ||
321 | } | ||
322 | #endif | ||
323 | |||
322 | static struct platform_device *pxa25x_devices[] __initdata = { | 324 | static struct platform_device *pxa25x_devices[] __initdata = { |
323 | &pxa25x_device_udc, | 325 | &pxa25x_device_udc, |
324 | &pxa_device_ffuart, | 326 | &pxa_device_ffuart, |
325 | &pxa_device_btuart, | 327 | &pxa_device_btuart, |
326 | &pxa_device_stuart, | 328 | &pxa_device_stuart, |
327 | &pxa_device_i2s, | 329 | &pxa_device_i2s, |
328 | &pxa_device_rtc, | 330 | &sa1100_device_rtc, |
329 | &pxa25x_device_ssp, | 331 | &pxa25x_device_ssp, |
330 | &pxa25x_device_nssp, | 332 | &pxa25x_device_nssp, |
331 | &pxa25x_device_assp, | 333 | &pxa25x_device_assp, |
@@ -371,7 +373,7 @@ static int __init pxa25x_init(void) | |||
371 | } | 373 | } |
372 | 374 | ||
373 | /* Only add HWUART for PXA255/26x; PXA210/250 do not have it. */ | 375 | /* Only add HWUART for PXA255/26x; PXA210/250 do not have it. */ |
374 | if (cpu_is_pxa255() || cpu_is_pxa26x()) { | 376 | if (cpu_is_pxa255()) { |
375 | clks_register(&pxa25x_hwuart_clkreg, 1); | 377 | clks_register(&pxa25x_hwuart_clkreg, 1); |
376 | ret = platform_device_register(&pxa_device_hwuart); | 378 | ret = platform_device_register(&pxa_device_hwuart); |
377 | } | 379 | } |