aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2006-06-18 11:21:53 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-06-18 11:21:53 -0400
commit36fe6a83b4a52276eebb929ff94896fa65d83401 (patch)
tree503562ded0a767c7879b70d44e3f2309012a6903
parent68d5969378fc21d9f70c0fdbc25176a68d873922 (diff)
[ARM] 3553/1: S3C24XX: earlier print of cpu idcode info
Patch from Ben Dooks Move the printk of the CPU information and IDCODE before the checking of the table entry validity to aide in debugging new cpu entries. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/mach-s3c2410/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c2410/cpu.c b/arch/arm/mach-s3c2410/cpu.c
index 70c34fcf7858..987d34c9ea99 100644
--- a/arch/arm/mach-s3c2410/cpu.c
+++ b/arch/arm/mach-s3c2410/cpu.c
@@ -175,13 +175,13 @@ void __init s3c24xx_init_io(struct map_desc *mach_desc, int size)
175 panic("Unknown S3C24XX CPU"); 175 panic("Unknown S3C24XX CPU");
176 } 176 }
177 177
178 printk("CPU %s (id 0x%08lx)\n", cpu->name, idcode);
179
178 if (cpu->map_io == NULL || cpu->init == NULL) { 180 if (cpu->map_io == NULL || cpu->init == NULL) {
179 printk(KERN_ERR "CPU %s support not enabled\n", cpu->name); 181 printk(KERN_ERR "CPU %s support not enabled\n", cpu->name);
180 panic("Unsupported S3C24XX CPU"); 182 panic("Unsupported S3C24XX CPU");
181 } 183 }
182 184
183 printk("CPU %s (id 0x%08lx)\n", cpu->name, idcode);
184
185 (cpu->map_io)(mach_desc, size); 185 (cpu->map_io)(mach_desc, size);
186} 186}
187 187