diff options
Diffstat (limited to 'arch/arm/plat-s3c24xx/cpu.c')
-rw-r--r-- | arch/arm/plat-s3c24xx/cpu.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/arm/plat-s3c24xx/cpu.c b/arch/arm/plat-s3c24xx/cpu.c index 4a10c0f684b..c1fc6c6fac7 100644 --- a/arch/arm/plat-s3c24xx/cpu.c +++ b/arch/arm/plat-s3c24xx/cpu.c | |||
@@ -46,7 +46,6 @@ | |||
46 | #include <plat/cpu.h> | 46 | #include <plat/cpu.h> |
47 | #include <plat/devs.h> | 47 | #include <plat/devs.h> |
48 | #include <plat/clock.h> | 48 | #include <plat/clock.h> |
49 | #include <plat/s3c2400.h> | ||
50 | #include <plat/s3c2410.h> | 49 | #include <plat/s3c2410.h> |
51 | #include <plat/s3c2412.h> | 50 | #include <plat/s3c2412.h> |
52 | #include <plat/s3c2416.h> | 51 | #include <plat/s3c2416.h> |
@@ -55,7 +54,6 @@ | |||
55 | 54 | ||
56 | /* table of supported CPUs */ | 55 | /* table of supported CPUs */ |
57 | 56 | ||
58 | static const char name_s3c2400[] = "S3C2400"; | ||
59 | static const char name_s3c2410[] = "S3C2410"; | 57 | static const char name_s3c2410[] = "S3C2410"; |
60 | static const char name_s3c2412[] = "S3C2412"; | 58 | static const char name_s3c2412[] = "S3C2412"; |
61 | static const char name_s3c2416[] = "S3C2416/S3C2450"; | 59 | static const char name_s3c2416[] = "S3C2416/S3C2450"; |
@@ -157,15 +155,6 @@ static struct cpu_table cpu_ids[] __initdata = { | |||
157 | .init = s3c2443_init, | 155 | .init = s3c2443_init, |
158 | .name = name_s3c2443, | 156 | .name = name_s3c2443, |
159 | }, | 157 | }, |
160 | { | ||
161 | .idcode = 0x0, /* S3C2400 doesn't have an idcode */ | ||
162 | .idmask = 0xffffffff, | ||
163 | .map_io = s3c2400_map_io, | ||
164 | .init_clocks = s3c2400_init_clocks, | ||
165 | .init_uarts = s3c2400_init_uarts, | ||
166 | .init = s3c2400_init, | ||
167 | .name = name_s3c2400 | ||
168 | }, | ||
169 | }; | 158 | }; |
170 | 159 | ||
171 | /* minimal IO mapping */ | 160 | /* minimal IO mapping */ |
@@ -200,11 +189,7 @@ static unsigned long s3c24xx_read_idcode_v5(void) | |||
200 | 189 | ||
201 | static unsigned long s3c24xx_read_idcode_v4(void) | 190 | static unsigned long s3c24xx_read_idcode_v4(void) |
202 | { | 191 | { |
203 | #ifndef CONFIG_CPU_S3C2400 | ||
204 | return __raw_readl(S3C2410_GSTATUS1); | 192 | return __raw_readl(S3C2410_GSTATUS1); |
205 | #else | ||
206 | return 0UL; | ||
207 | #endif | ||
208 | } | 193 | } |
209 | 194 | ||
210 | /* Hook for arm_pm_restart to ensure we execute the reset code | 195 | /* Hook for arm_pm_restart to ensure we execute the reset code |