From: Yoshihiro Shimoda Date: Mon, 23 Jul 2012 14:53:42 +0000 (+0000) Subject: sh: modify checkcpu() for SH-4A X-Git-Tag: v2012.10-rc1~402 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d1858572674a4959b21fe0a0e33650814d8a6fbb;p=u-boot sh: modify checkcpu() for SH-4A Even if using CPU is SH-4A, the previous code always put "SH4". This patch fixes it. Signed-off-by: Yoshihiro Shimoda Signed-off-by: Nobuhiro Iwamatsu --- diff --git a/arch/sh/cpu/sh4/cpu.c b/arch/sh/cpu/sh4/cpu.c index f136758334..7da1ef753a 100644 --- a/arch/sh/cpu/sh4/cpu.c +++ b/arch/sh/cpu/sh4/cpu.c @@ -29,7 +29,11 @@ int checkcpu(void) { +#ifdef CONFIG_SH4A + puts("CPU: SH-4A\n"); +#else puts("CPU: SH4\n"); +#endif return 0; }