diff options
Diffstat (limited to 'arch/arm/mach-prima2/common.c')
-rw-r--r-- | arch/arm/mach-prima2/common.c | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/arch/arm/mach-prima2/common.c b/arch/arm/mach-prima2/common.c index a860ea27e8ae..0c819bb88418 100644 --- a/arch/arm/mach-prima2/common.c +++ b/arch/arm/mach-prima2/common.c | |||
@@ -20,12 +20,6 @@ static void __init sirfsoc_init_late(void) | |||
20 | sirfsoc_pm_init(); | 20 | sirfsoc_pm_init(); |
21 | } | 21 | } |
22 | 22 | ||
23 | static __init void sirfsoc_map_io(void) | ||
24 | { | ||
25 | sirfsoc_map_lluart(); | ||
26 | sirfsoc_map_scu(); | ||
27 | } | ||
28 | |||
29 | #ifdef CONFIG_ARCH_ATLAS6 | 23 | #ifdef CONFIG_ARCH_ATLAS6 |
30 | static const char *atlas6_dt_match[] __initconst = { | 24 | static const char *atlas6_dt_match[] __initconst = { |
31 | "sirf,atlas6", | 25 | "sirf,atlas6", |
@@ -36,7 +30,6 @@ DT_MACHINE_START(ATLAS6_DT, "Generic ATLAS6 (Flattened Device Tree)") | |||
36 | /* Maintainer: Barry Song <baohua.song@csr.com> */ | 30 | /* Maintainer: Barry Song <baohua.song@csr.com> */ |
37 | .l2c_aux_val = 0, | 31 | .l2c_aux_val = 0, |
38 | .l2c_aux_mask = ~0, | 32 | .l2c_aux_mask = ~0, |
39 | .map_io = sirfsoc_map_io, | ||
40 | .init_late = sirfsoc_init_late, | 33 | .init_late = sirfsoc_init_late, |
41 | .dt_compat = atlas6_dt_match, | 34 | .dt_compat = atlas6_dt_match, |
42 | MACHINE_END | 35 | MACHINE_END |
@@ -52,26 +45,21 @@ DT_MACHINE_START(PRIMA2_DT, "Generic PRIMA2 (Flattened Device Tree)") | |||
52 | /* Maintainer: Barry Song <baohua.song@csr.com> */ | 45 | /* Maintainer: Barry Song <baohua.song@csr.com> */ |
53 | .l2c_aux_val = 0, | 46 | .l2c_aux_val = 0, |
54 | .l2c_aux_mask = ~0, | 47 | .l2c_aux_mask = ~0, |
55 | .map_io = sirfsoc_map_io, | ||
56 | .dma_zone_size = SZ_256M, | 48 | .dma_zone_size = SZ_256M, |
57 | .init_late = sirfsoc_init_late, | 49 | .init_late = sirfsoc_init_late, |
58 | .dt_compat = prima2_dt_match, | 50 | .dt_compat = prima2_dt_match, |
59 | MACHINE_END | 51 | MACHINE_END |
60 | #endif | 52 | #endif |
61 | 53 | ||
62 | #ifdef CONFIG_ARCH_MARCO | 54 | #ifdef CONFIG_ARCH_ATLAS7 |
63 | static const char *marco_dt_match[] __initconst = { | 55 | static const char *atlas7_dt_match[] __initdata = { |
64 | "sirf,marco", | 56 | "sirf,atlas7", |
65 | NULL | 57 | NULL |
66 | }; | 58 | }; |
67 | 59 | ||
68 | DT_MACHINE_START(MARCO_DT, "Generic MARCO (Flattened Device Tree)") | 60 | DT_MACHINE_START(ATLAS7_DT, "Generic ATLAS7 (Flattened Device Tree)") |
69 | /* Maintainer: Barry Song <baohua.song@csr.com> */ | 61 | /* Maintainer: Barry Song <baohua.song@csr.com> */ |
70 | .l2c_aux_val = 0, | ||
71 | .l2c_aux_mask = ~0, | ||
72 | .smp = smp_ops(sirfsoc_smp_ops), | 62 | .smp = smp_ops(sirfsoc_smp_ops), |
73 | .map_io = sirfsoc_map_io, | 63 | .dt_compat = atlas7_dt_match, |
74 | .init_late = sirfsoc_init_late, | ||
75 | .dt_compat = marco_dt_match, | ||
76 | MACHINE_END | 64 | MACHINE_END |
77 | #endif | 65 | #endif |