diff options
Diffstat (limited to 'arch/arm/plat-s5p/cpu.c')
-rw-r--r-- | arch/arm/plat-s5p/cpu.c | 34 |
1 files changed, 11 insertions, 23 deletions
diff --git a/arch/arm/plat-s5p/cpu.c b/arch/arm/plat-s5p/cpu.c index b07a078fd28..74f7f5a5446 100644 --- a/arch/arm/plat-s5p/cpu.c +++ b/arch/arm/plat-s5p/cpu.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <plat/cpu.h> | 19 | #include <plat/cpu.h> |
20 | #include <plat/s5p6440.h> | 20 | #include <plat/s5p6440.h> |
21 | #include <plat/s5p6442.h> | 21 | #include <plat/s5p6442.h> |
22 | #include <plat/s5p6450.h> | ||
22 | #include <plat/s5pc100.h> | 23 | #include <plat/s5pc100.h> |
23 | #include <plat/s5pv210.h> | 24 | #include <plat/s5pv210.h> |
24 | #include <plat/s5pv310.h> | 25 | #include <plat/s5pv310.h> |
@@ -27,6 +28,7 @@ | |||
27 | 28 | ||
28 | static const char name_s5p6440[] = "S5P6440"; | 29 | static const char name_s5p6440[] = "S5P6440"; |
29 | static const char name_s5p6442[] = "S5P6442"; | 30 | static const char name_s5p6442[] = "S5P6442"; |
31 | static const char name_s5p6450[] = "S5P6450"; | ||
30 | static const char name_s5pc100[] = "S5PC100"; | 32 | static const char name_s5pc100[] = "S5PC100"; |
31 | static const char name_s5pv210[] = "S5PV210/S5PC110"; | 33 | static const char name_s5pv210[] = "S5PV210/S5PC110"; |
32 | static const char name_s5pv310[] = "S5PV310"; | 34 | static const char name_s5pv310[] = "S5PV310"; |
@@ -38,7 +40,7 @@ static struct cpu_table cpu_ids[] __initdata = { | |||
38 | .map_io = s5p6440_map_io, | 40 | .map_io = s5p6440_map_io, |
39 | .init_clocks = s5p6440_init_clocks, | 41 | .init_clocks = s5p6440_init_clocks, |
40 | .init_uarts = s5p6440_init_uarts, | 42 | .init_uarts = s5p6440_init_uarts, |
41 | .init = s5p6440_init, | 43 | .init = s5p64x0_init, |
42 | .name = name_s5p6440, | 44 | .name = name_s5p6440, |
43 | }, { | 45 | }, { |
44 | .idcode = 0x36442000, | 46 | .idcode = 0x36442000, |
@@ -49,6 +51,14 @@ static struct cpu_table cpu_ids[] __initdata = { | |||
49 | .init = s5p6442_init, | 51 | .init = s5p6442_init, |
50 | .name = name_s5p6442, | 52 | .name = name_s5p6442, |
51 | }, { | 53 | }, { |
54 | .idcode = 0x36450000, | ||
55 | .idmask = 0xffffff00, | ||
56 | .map_io = s5p6450_map_io, | ||
57 | .init_clocks = s5p6450_init_clocks, | ||
58 | .init_uarts = s5p6450_init_uarts, | ||
59 | .init = s5p64x0_init, | ||
60 | .name = name_s5p6450, | ||
61 | }, { | ||
52 | .idcode = 0x43100000, | 62 | .idcode = 0x43100000, |
53 | .idmask = 0xfffff000, | 63 | .idmask = 0xfffff000, |
54 | .map_io = s5pc100_map_io, | 64 | .map_io = s5pc100_map_io, |
@@ -89,33 +99,11 @@ static struct map_desc s5p_iodesc[] __initdata = { | |||
89 | .length = SZ_64K, | 99 | .length = SZ_64K, |
90 | .type = MT_DEVICE, | 100 | .type = MT_DEVICE, |
91 | }, { | 101 | }, { |
92 | .virtual = (unsigned long)S3C_VA_UART, | ||
93 | .pfn = __phys_to_pfn(S3C_PA_UART), | ||
94 | .length = SZ_512K, | ||
95 | .type = MT_DEVICE, | ||
96 | #ifdef CONFIG_ARM_VIC | ||
97 | }, { | ||
98 | .virtual = (unsigned long)VA_VIC0, | ||
99 | .pfn = __phys_to_pfn(S5P_PA_VIC0), | ||
100 | .length = SZ_16K, | ||
101 | .type = MT_DEVICE, | ||
102 | }, { | ||
103 | .virtual = (unsigned long)VA_VIC1, | ||
104 | .pfn = __phys_to_pfn(S5P_PA_VIC1), | ||
105 | .length = SZ_16K, | ||
106 | .type = MT_DEVICE, | ||
107 | #endif | ||
108 | }, { | ||
109 | .virtual = (unsigned long)S3C_VA_TIMER, | 102 | .virtual = (unsigned long)S3C_VA_TIMER, |
110 | .pfn = __phys_to_pfn(S5P_PA_TIMER), | 103 | .pfn = __phys_to_pfn(S5P_PA_TIMER), |
111 | .length = SZ_16K, | 104 | .length = SZ_16K, |
112 | .type = MT_DEVICE, | 105 | .type = MT_DEVICE, |
113 | }, { | 106 | }, { |
114 | .virtual = (unsigned long)S5P_VA_GPIO, | ||
115 | .pfn = __phys_to_pfn(S5P_PA_GPIO), | ||
116 | .length = SZ_4K, | ||
117 | .type = MT_DEVICE, | ||
118 | }, { | ||
119 | .virtual = (unsigned long)S3C_VA_WATCHDOG, | 107 | .virtual = (unsigned long)S3C_VA_WATCHDOG, |
120 | .pfn = __phys_to_pfn(S3C_PA_WDT), | 108 | .pfn = __phys_to_pfn(S3C_PA_WDT), |
121 | .length = SZ_4K, | 109 | .length = SZ_4K, |