From d1858572674a4959b21fe0a0e33650814d8a6fbb Mon Sep 17 00:00:00 2001 From: Yoshihiro Shimoda Date: Mon, 23 Jul 2012 14:53:42 +0000 Subject: 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 --- arch/sh/cpu/sh4/cpu.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/sh/cpu/sh4') diff --git a/arch/sh/cpu/sh4/cpu.c b/arch/sh/cpu/sh4/cpu.c index f136758..7da1ef7 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; } -- cgit v1.1