Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149241
b: refs/heads/master
c: e074f98
h: refs/heads/master
i:
  149239: 6859509
v: v3
  • Loading branch information
Ben Dooks committed May 7, 2009
1 parent aa16a4a commit 456f238
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a6925c1c515513e22b0419e1a41155c88d22b1f4
refs/heads/master: e074f9803227236252c8e7be16d836d709abff57
8 changes: 8 additions & 0 deletions trunk/arch/arm/plat-s3c64xx/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,14 @@ void __init s3c64xx_init_io(struct map_desc *mach_desc, int size)
iotable_init(mach_desc, size);

idcode = __raw_readl(S3C_VA_SYS + 0x118);
if (!idcode) {
/* S3C6400 has the ID register in a different place,
* and needs a write before it can be read. */

__raw_writel(0x0, S3C_VA_SYS + 0xA1C);
idcode = __raw_readl(S3C_VA_SYS + 0xA1C);
}

s3c_init_cpu(idcode, cpu_ids, ARRAY_SIZE(cpu_ids));
}

Expand Down

0 comments on commit 456f238

Please sign in to comment.