Commit 2747f5e5 authored by Mark Brown's avatar Mark Brown Committed by Kukjin Kim

ARM: SAMSUNG: Fix mask for S3C64xx CPU IDs

The difference in CPU ID between S3C6400 and S3C6410 is a single bit and
that bit wasn't included in the mask causing the S3C6410 to be misdetected
as a S3C6400.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
[kgene.kim@samsung.com: changed the value]
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 56b20922
...@@ -26,7 +26,7 @@ extern unsigned long samsung_cpu_id; ...@@ -26,7 +26,7 @@ extern unsigned long samsung_cpu_id;
#define S3C6400_CPU_ID 0x36400000 #define S3C6400_CPU_ID 0x36400000
#define S3C6410_CPU_ID 0x36410000 #define S3C6410_CPU_ID 0x36410000
#define S3C64XX_CPU_ID (S3C6400_CPU_ID & S3C6410_CPU_ID) #define S3C64XX_CPU_ID (S3C6400_CPU_ID & S3C6410_CPU_ID)
#define S3C64XX_CPU_MASK 0x1FF40000 #define S3C64XX_CPU_MASK 0xFFFFF000
#define S5P6440_CPU_ID 0x56440000 #define S5P6440_CPU_ID 0x56440000
#define S5P6450_CPU_ID 0x36450000 #define S5P6450_CPU_ID 0x36450000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment