diff options
Diffstat (limited to 'arch/arm/mach-gemini/mm.c')
-rw-r--r-- | arch/arm/mach-gemini/mm.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/arch/arm/mach-gemini/mm.c b/arch/arm/mach-gemini/mm.c index 51948242ec09..2c2cd284bb6a 100644 --- a/arch/arm/mach-gemini/mm.c +++ b/arch/arm/mach-gemini/mm.c | |||
@@ -19,57 +19,57 @@ | |||
19 | /* Page table mapping for I/O region */ | 19 | /* Page table mapping for I/O region */ |
20 | static struct map_desc gemini_io_desc[] __initdata = { | 20 | static struct map_desc gemini_io_desc[] __initdata = { |
21 | { | 21 | { |
22 | .virtual = IO_ADDRESS(GEMINI_GLOBAL_BASE), | 22 | .virtual = (unsigned long)IO_ADDRESS(GEMINI_GLOBAL_BASE), |
23 | .pfn =__phys_to_pfn(GEMINI_GLOBAL_BASE), | 23 | .pfn =__phys_to_pfn(GEMINI_GLOBAL_BASE), |
24 | .length = SZ_512K, | 24 | .length = SZ_512K, |
25 | .type = MT_DEVICE, | 25 | .type = MT_DEVICE, |
26 | }, { | 26 | }, { |
27 | .virtual = IO_ADDRESS(GEMINI_UART_BASE), | 27 | .virtual = (unsigned long)IO_ADDRESS(GEMINI_UART_BASE), |
28 | .pfn = __phys_to_pfn(GEMINI_UART_BASE), | 28 | .pfn = __phys_to_pfn(GEMINI_UART_BASE), |
29 | .length = SZ_512K, | 29 | .length = SZ_512K, |
30 | .type = MT_DEVICE, | 30 | .type = MT_DEVICE, |
31 | }, { | 31 | }, { |
32 | .virtual = IO_ADDRESS(GEMINI_TIMER_BASE), | 32 | .virtual = (unsigned long)IO_ADDRESS(GEMINI_TIMER_BASE), |
33 | .pfn = __phys_to_pfn(GEMINI_TIMER_BASE), | 33 | .pfn = __phys_to_pfn(GEMINI_TIMER_BASE), |
34 | .length = SZ_512K, | 34 | .length = SZ_512K, |
35 | .type = MT_DEVICE, | 35 | .type = MT_DEVICE, |
36 | }, { | 36 | }, { |
37 | .virtual = IO_ADDRESS(GEMINI_INTERRUPT_BASE), | 37 | .virtual = (unsigned long)IO_ADDRESS(GEMINI_INTERRUPT_BASE), |
38 | .pfn = __phys_to_pfn(GEMINI_INTERRUPT_BASE), | 38 | .pfn = __phys_to_pfn(GEMINI_INTERRUPT_BASE), |
39 | .length = SZ_512K, | 39 | .length = SZ_512K, |
40 | .type = MT_DEVICE, | 40 | .type = MT_DEVICE, |
41 | }, { | 41 | }, { |
42 | .virtual = IO_ADDRESS(GEMINI_POWER_CTRL_BASE), | 42 | .virtual = (unsigned long)IO_ADDRESS(GEMINI_POWER_CTRL_BASE), |
43 | .pfn = __phys_to_pfn(GEMINI_POWER_CTRL_BASE), | 43 | .pfn = __phys_to_pfn(GEMINI_POWER_CTRL_BASE), |
44 | .length = SZ_512K, | 44 | .length = SZ_512K, |
45 | .type = MT_DEVICE, | 45 | .type = MT_DEVICE, |
46 | }, { | 46 | }, { |
47 | .virtual = IO_ADDRESS(GEMINI_GPIO_BASE(0)), | 47 | .virtual = (unsigned long)IO_ADDRESS(GEMINI_GPIO_BASE(0)), |
48 | .pfn = __phys_to_pfn(GEMINI_GPIO_BASE(0)), | 48 | .pfn = __phys_to_pfn(GEMINI_GPIO_BASE(0)), |
49 | .length = SZ_512K, | 49 | .length = SZ_512K, |
50 | .type = MT_DEVICE, | 50 | .type = MT_DEVICE, |
51 | }, { | 51 | }, { |
52 | .virtual = IO_ADDRESS(GEMINI_GPIO_BASE(1)), | 52 | .virtual = (unsigned long)IO_ADDRESS(GEMINI_GPIO_BASE(1)), |
53 | .pfn = __phys_to_pfn(GEMINI_GPIO_BASE(1)), | 53 | .pfn = __phys_to_pfn(GEMINI_GPIO_BASE(1)), |
54 | .length = SZ_512K, | 54 | .length = SZ_512K, |
55 | .type = MT_DEVICE, | 55 | .type = MT_DEVICE, |
56 | }, { | 56 | }, { |
57 | .virtual = IO_ADDRESS(GEMINI_GPIO_BASE(2)), | 57 | .virtual = (unsigned long)IO_ADDRESS(GEMINI_GPIO_BASE(2)), |
58 | .pfn = __phys_to_pfn(GEMINI_GPIO_BASE(2)), | 58 | .pfn = __phys_to_pfn(GEMINI_GPIO_BASE(2)), |
59 | .length = SZ_512K, | 59 | .length = SZ_512K, |
60 | .type = MT_DEVICE, | 60 | .type = MT_DEVICE, |
61 | }, { | 61 | }, { |
62 | .virtual = IO_ADDRESS(GEMINI_FLASH_CTRL_BASE), | 62 | .virtual = (unsigned long)IO_ADDRESS(GEMINI_FLASH_CTRL_BASE), |
63 | .pfn = __phys_to_pfn(GEMINI_FLASH_CTRL_BASE), | 63 | .pfn = __phys_to_pfn(GEMINI_FLASH_CTRL_BASE), |
64 | .length = SZ_512K, | 64 | .length = SZ_512K, |
65 | .type = MT_DEVICE, | 65 | .type = MT_DEVICE, |
66 | }, { | 66 | }, { |
67 | .virtual = IO_ADDRESS(GEMINI_DRAM_CTRL_BASE), | 67 | .virtual = (unsigned long)IO_ADDRESS(GEMINI_DRAM_CTRL_BASE), |
68 | .pfn = __phys_to_pfn(GEMINI_DRAM_CTRL_BASE), | 68 | .pfn = __phys_to_pfn(GEMINI_DRAM_CTRL_BASE), |
69 | .length = SZ_512K, | 69 | .length = SZ_512K, |
70 | .type = MT_DEVICE, | 70 | .type = MT_DEVICE, |
71 | }, { | 71 | }, { |
72 | .virtual = IO_ADDRESS(GEMINI_GENERAL_DMA_BASE), | 72 | .virtual = (unsigned long)IO_ADDRESS(GEMINI_GENERAL_DMA_BASE), |
73 | .pfn = __phys_to_pfn(GEMINI_GENERAL_DMA_BASE), | 73 | .pfn = __phys_to_pfn(GEMINI_GENERAL_DMA_BASE), |
74 | .length = SZ_512K, | 74 | .length = SZ_512K, |
75 | .type = MT_DEVICE, | 75 | .type = MT_DEVICE, |