]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
sh: modify checkcpu() for SH-4A
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 23 Jul 2012 14:53:42 +0000 (14:53 +0000)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Wed, 8 Aug 2012 00:50:41 +0000 (09:50 +0900)
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>
arch/sh/cpu/sh4/cpu.c

index f1367583345330d1476446429e360e67c6e58ed9..7da1ef753a987fb401e85eec8242676c300b3f00 100644 (file)
 
 int checkcpu(void)
 {
+#ifdef CONFIG_SH4A
+       puts("CPU: SH-4A\n");
+#else
        puts("CPU: SH4\n");
+#endif
        return 0;
 }