Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243049
b: refs/heads/master
c: 9d5fda6
h: refs/heads/master
i:
  243047: dac5083
v: v3
  • Loading branch information
Kukjin Kim committed Mar 28, 2011
1 parent 272aa86 commit e89a4e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b9ab19f936e823c31e66702ee553e4d18e910c9a
refs/heads/master: 9d5fda6656fae8004deb81e91bbd144c8743e500
8 changes: 4 additions & 4 deletions trunk/arch/arm/plat-s5p/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,23 @@ static const char name_exynos4210[] = "EXYNOS4210";
static struct cpu_table cpu_ids[] __initdata = {
{
.idcode = 0x56440100,
.idmask = 0xffffff00,
.idmask = 0xfffff000,
.map_io = s5p6440_map_io,
.init_clocks = s5p6440_init_clocks,
.init_uarts = s5p6440_init_uarts,
.init = s5p64x0_init,
.name = name_s5p6440,
}, {
.idcode = 0x36442000,
.idmask = 0xffffff00,
.idmask = 0xfffff000,
.map_io = s5p6442_map_io,
.init_clocks = s5p6442_init_clocks,
.init_uarts = s5p6442_init_uarts,
.init = s5p6442_init,
.name = name_s5p6442,
}, {
.idcode = 0x36450000,
.idmask = 0xffffff00,
.idmask = 0xfffff000,
.map_io = s5p6450_map_io,
.init_clocks = s5p6450_init_clocks,
.init_uarts = s5p6450_init_uarts,
Expand All @@ -79,7 +79,7 @@ static struct cpu_table cpu_ids[] __initdata = {
.name = name_s5pv210,
}, {
.idcode = 0x43210000,
.idmask = 0xfffff000,
.idmask = 0xfffe0000,
.map_io = exynos4_map_io,
.init_clocks = exynos4_init_clocks,
.init_uarts = exynos4_init_uarts,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/plat-samsung/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static struct cpu_table * __init s3c_lookup_cpu(unsigned long idcode,
unsigned int count)
{
for (; count != 0; count--, tab++) {
if ((idcode & tab->idmask) == tab->idcode)
if ((idcode & tab->idmask) == (tab->idcode & tab->idmask))
return tab;
}

Expand Down

0 comments on commit e89a4e0

Please sign in to comment.