Skip to content

Commit

Permalink
ARM: SAMSUNG: Fix mask for S3C64xx CPU IDs
Browse files Browse the repository at this point in the history
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: Mark Brown <broonie@opensource.wolfsonmicro.com>
[kgene.kim@samsung.com: changed the value]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Mark Brown authored and Kukjin Kim committed Sep 5, 2011
1 parent 56b2092 commit 2747f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-samsung/include/plat/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ extern unsigned long samsung_cpu_id;
#define S3C6400_CPU_ID 0x36400000
#define S3C6410_CPU_ID 0x36410000
#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 S5P6450_CPU_ID 0x36450000
Expand Down

0 comments on commit 2747f5e

Please sign in to comment.