projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d36121
)
sh: modify checkcpu() for SH-4A
author
Yoshihiro Shimoda
<yoshihiro.shimoda.uh@renesas.com>
Mon, 23 Jul 2012 14:53:42 +0000
(14:53 +0000)
committer
Nobuhiro 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
patch
|
blob
|
history
diff --git
a/arch/sh/cpu/sh4/cpu.c
b/arch/sh/cpu/sh4/cpu.c
index f1367583345330d1476446429e360e67c6e58ed9..7da1ef753a987fb401e85eec8242676c300b3f00 100644
(file)
--- 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;
}