summaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2012-07-23 14:53:42 +0000
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2012-08-08 09:50:41 +0900
commitd1858572674a4959b21fe0a0e33650814d8a6fbb (patch)
treeb99850fc6e51e3df87f8c5109b3f2a20fec33311 /arch/sh
parent6d36121b878a3ccbbff7f60a02109e8c8d81dd0f (diff)
downloadu-boot-imx-d1858572674a4959b21fe0a0e33650814d8a6fbb.zip
u-boot-imx-d1858572674a4959b21fe0a0e33650814d8a6fbb.tar.gz
u-boot-imx-d1858572674a4959b21fe0a0e33650814d8a6fbb.tar.bz2
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 <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/cpu/sh4/cpu.c4
1 files changed, 4 insertions, 0 deletions
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;
}