projects
/
kernel
/
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
f136758
..
7da1ef7
100644
(file)
--- a/
arch/sh/cpu/sh4/cpu.c
+++ b/
arch/sh/cpu/sh4/cpu.c
@@
-29,7
+29,11
@@
int checkcpu(void)
{
int checkcpu(void)
{
+#ifdef CONFIG_SH4A
+ puts("CPU: SH-4A\n");
+#else
puts("CPU: SH4\n");
puts("CPU: SH4\n");
+#endif
return 0;
}
return 0;
}