diff options
Diffstat (limited to 'arch/arm/plat-s3c24xx/cpu.c')
-rw-r--r-- | arch/arm/plat-s3c24xx/cpu.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c24xx/cpu.c b/arch/arm/plat-s3c24xx/cpu.c index 9ca64df35bf6..494f4f3a9332 100644 --- a/arch/arm/plat-s3c24xx/cpu.c +++ b/arch/arm/plat-s3c24xx/cpu.c | |||
@@ -49,6 +49,7 @@ | |||
49 | #include <plat/s3c2400.h> | 49 | #include <plat/s3c2400.h> |
50 | #include <plat/s3c2410.h> | 50 | #include <plat/s3c2410.h> |
51 | #include <plat/s3c2412.h> | 51 | #include <plat/s3c2412.h> |
52 | #include <plat/s3c2416.h> | ||
52 | #include <plat/s3c244x.h> | 53 | #include <plat/s3c244x.h> |
53 | #include <plat/s3c2443.h> | 54 | #include <plat/s3c2443.h> |
54 | 55 | ||
@@ -57,6 +58,7 @@ | |||
57 | static const char name_s3c2400[] = "S3C2400"; | 58 | static const char name_s3c2400[] = "S3C2400"; |
58 | static const char name_s3c2410[] = "S3C2410"; | 59 | static const char name_s3c2410[] = "S3C2410"; |
59 | static const char name_s3c2412[] = "S3C2412"; | 60 | static const char name_s3c2412[] = "S3C2412"; |
61 | static const char name_s3c2416[] = "S3C2416"; | ||
60 | static const char name_s3c2440[] = "S3C2440"; | 62 | static const char name_s3c2440[] = "S3C2440"; |
61 | static const char name_s3c2442[] = "S3C2442"; | 63 | static const char name_s3c2442[] = "S3C2442"; |
62 | static const char name_s3c2442b[] = "S3C2442B"; | 64 | static const char name_s3c2442b[] = "S3C2442B"; |
@@ -137,6 +139,15 @@ static struct cpu_table cpu_ids[] __initdata = { | |||
137 | .init = s3c2412_init, | 139 | .init = s3c2412_init, |
138 | .name = name_s3c2412, | 140 | .name = name_s3c2412, |
139 | }, | 141 | }, |
142 | { /* a strange version of the s3c2416 */ | ||
143 | .idcode = 0x32450003, | ||
144 | .idmask = 0xffffffff, | ||
145 | .map_io = s3c2416_map_io, | ||
146 | .init_clocks = s3c2416_init_clocks, | ||
147 | .init_uarts = s3c2416_init_uarts, | ||
148 | .init = s3c2416_init, | ||
149 | .name = name_s3c2416, | ||
150 | }, | ||
140 | { | 151 | { |
141 | .idcode = 0x32443001, | 152 | .idcode = 0x32443001, |
142 | .idmask = 0xffffffff, | 153 | .idmask = 0xffffffff, |
@@ -172,6 +183,8 @@ static unsigned long s3c24xx_read_idcode_v5(void) | |||
172 | { | 183 | { |
173 | #if defined(CONFIG_CPU_S3C2412) || defined(CONFIG_CPU_S3C2413) | 184 | #if defined(CONFIG_CPU_S3C2412) || defined(CONFIG_CPU_S3C2413) |
174 | return __raw_readl(S3C2412_GSTATUS1); | 185 | return __raw_readl(S3C2412_GSTATUS1); |
186 | #elif defined(CONFIG_CPU_S3C2416) | ||
187 | return __raw_readl(S3C24XX_GSTATUS1); | ||
175 | #else | 188 | #else |
176 | return 1UL; /* don't look like an 2400 */ | 189 | return 1UL; /* don't look like an 2400 */ |
177 | #endif | 190 | #endif |