diff options
Diffstat (limited to 'arch/arm/mach-pxa/pxa25x.c')
-rw-r--r-- | arch/arm/mach-pxa/pxa25x.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/pxa25x.c b/arch/arm/mach-pxa/pxa25x.c index de53f2e4aa3..67200ce25e1 100644 --- a/arch/arm/mach-pxa/pxa25x.c +++ b/arch/arm/mach-pxa/pxa25x.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include <linux/suspend.h> | 23 | #include <linux/suspend.h> |
24 | #include <linux/sysdev.h> | 24 | #include <linux/sysdev.h> |
25 | 25 | ||
26 | #include <asm/mach/map.h> | ||
26 | #include <mach/hardware.h> | 27 | #include <mach/hardware.h> |
27 | #include <mach/irqs.h> | 28 | #include <mach/irqs.h> |
28 | #include <mach/gpio.h> | 29 | #include <mach/gpio.h> |
@@ -320,6 +321,22 @@ void __init pxa26x_init_irq(void) | |||
320 | } | 321 | } |
321 | #endif | 322 | #endif |
322 | 323 | ||
324 | static struct map_desc pxa25x_io_desc[] __initdata = { | ||
325 | { /* Mem Ctl */ | ||
326 | .virtual = 0xf6000000, | ||
327 | .pfn = __phys_to_pfn(0x48000000), | ||
328 | .length = 0x00200000, | ||
329 | .type = MT_DEVICE | ||
330 | }, | ||
331 | }; | ||
332 | |||
333 | void __init pxa25x_map_io(void) | ||
334 | { | ||
335 | pxa_map_io(); | ||
336 | iotable_init(ARRAY_AND_SIZE(pxa25x_io_desc)); | ||
337 | pxa25x_get_clk_frequency_khz(1); | ||
338 | } | ||
339 | |||
323 | static struct platform_device *pxa25x_devices[] __initdata = { | 340 | static struct platform_device *pxa25x_devices[] __initdata = { |
324 | &pxa25x_device_udc, | 341 | &pxa25x_device_udc, |
325 | &pxa_device_pmu, | 342 | &pxa_device_pmu, |