diff options
Diffstat (limited to 'arch/arm/mach-pxa/generic.c')
-rw-r--r-- | arch/arm/mach-pxa/generic.c | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c index 69a89fe4ce8d..6a5f37935378 100644 --- a/arch/arm/mach-pxa/generic.c +++ b/arch/arm/mach-pxa/generic.c | |||
@@ -86,27 +86,15 @@ EXPORT_SYMBOL(get_memclk_frequency_10khz); | |||
86 | /* | 86 | /* |
87 | * Intel PXA2xx internal register mapping. | 87 | * Intel PXA2xx internal register mapping. |
88 | * | 88 | * |
89 | * Note 1: not all PXA2xx variants implement all those addresses. | 89 | * Note: virtual 0xfffe0000-0xffffffff is reserved for the vector table |
90 | * | 90 | * and cache flush area. |
91 | * Note 2: virtual 0xfffe0000-0xffffffff is reserved for the vector table | ||
92 | * and cache flush area. | ||
93 | */ | 91 | */ |
94 | static struct map_desc standard_io_desc[] __initdata = { | 92 | static struct map_desc common_io_desc[] __initdata = { |
95 | { /* Devs */ | 93 | { /* Devs */ |
96 | .virtual = 0xf2000000, | 94 | .virtual = 0xf2000000, |
97 | .pfn = __phys_to_pfn(0x40000000), | 95 | .pfn = __phys_to_pfn(0x40000000), |
98 | .length = 0x02000000, | 96 | .length = 0x02000000, |
99 | .type = MT_DEVICE | 97 | .type = MT_DEVICE |
100 | }, { /* Mem Ctl */ | ||
101 | .virtual = 0xf6000000, | ||
102 | .pfn = __phys_to_pfn(0x48000000), | ||
103 | .length = 0x00200000, | ||
104 | .type = MT_DEVICE | ||
105 | }, { /* IMem ctl */ | ||
106 | .virtual = 0xfe000000, | ||
107 | .pfn = __phys_to_pfn(0x58000000), | ||
108 | .length = 0x00100000, | ||
109 | .type = MT_DEVICE | ||
110 | }, { /* UNCACHED_PHYS_0 */ | 98 | }, { /* UNCACHED_PHYS_0 */ |
111 | .virtual = 0xff000000, | 99 | .virtual = 0xff000000, |
112 | .pfn = __phys_to_pfn(0x00000000), | 100 | .pfn = __phys_to_pfn(0x00000000), |
@@ -117,6 +105,5 @@ static struct map_desc standard_io_desc[] __initdata = { | |||
117 | 105 | ||
118 | void __init pxa_map_io(void) | 106 | void __init pxa_map_io(void) |
119 | { | 107 | { |
120 | iotable_init(standard_io_desc, ARRAY_SIZE(standard_io_desc)); | 108 | iotable_init(ARRAY_AND_SIZE(common_io_desc)); |
121 | get_clk_frequency_khz(1); | ||
122 | } | 109 | } |