Commit d1858572 authored by Yoshihiro Shimoda's avatar Yoshihiro Shimoda Committed by Nobuhiro Iwamatsu
Browse files

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: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: default avatarNobuhiro Iwamatsu <iwamatsu@nigauri.org>
parent 6d36121b
...@@ -29,7 +29,11 @@ ...@@ -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;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment