summaryrefslogtreecommitdiff
path: root/cpu/mpc86xx/cpu.c
diff options
context:
space:
mode:
authorPoonam Aggrwal <poonam.aggrwal@freescale.com>2009-09-02 13:35:21 +0530
committerKumar Gala <galak@kernel.crashing.org>2009-09-08 09:10:08 -0500
commit58442dc01e47cc8ce42af4f29486a34cad60b9d2 (patch)
treec89902a6131b557e2d64cd3be9854e845f24ae6c /cpu/mpc86xx/cpu.c
parent3e7b6c1f2db5ec31f9e7dbc3e0cbca602167a46a (diff)
downloadu-boot-imx-58442dc01e47cc8ce42af4f29486a34cad60b9d2.zip
u-boot-imx-58442dc01e47cc8ce42af4f29486a34cad60b9d2.tar.gz
u-boot-imx-58442dc01e47cc8ce42af4f29486a34cad60b9d2.tar.bz2
ppc/85xx,86xx: Handling Unknown SOC version
Incase the system is detected with Unknown SVR, let the system boot with a default value and a proper message. Now with dynamic detection of SOC properties from SVR, this is necessary to prevent a crash. Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'cpu/mpc86xx/cpu.c')
-rw-r--r--cpu/mpc86xx/cpu.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/cpu/mpc86xx/cpu.c b/cpu/mpc86xx/cpu.c
index 04409ce..e97ab6d 100644
--- a/cpu/mpc86xx/cpu.c
+++ b/cpu/mpc86xx/cpu.c
@@ -65,10 +65,7 @@ checkcpu(void)
cpu = gd->cpu;
- if (cpu->name)
- puts(cpu->name);
- else
- puts("Unknown");
+ puts(cpu->name);
printf(", Version: %d.%d, (0x%08x)\n", major, minor, svr);
puts("Core: ");