summaryrefslogtreecommitdiffstats
path: root/arch/sh/cpu
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>2014-01-09 12:22:12 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2014-01-09 12:47:15 +0900
commit6b87abe3ac357649a990c05a6a5f9fd232cca21c (patch)
treef121f7d1e2f4bae0b22ae92706a493c3c13c2399 /arch/sh/cpu
parent8f0960e8378e0fc14d6216f60910994c217d3d57 (diff)
downloadu-boot-6b87abe3ac357649a990c05a6a5f9fd232cca21c.tar.gz
u-boot-6b87abe3ac357649a990c05a6a5f9fd232cca21c.tar.xz
u-boot-6b87abe3ac357649a990c05a6a5f9fd232cca21c.zip
sh: sh4: Remove CONFIG_SH4A definition from source code
SH4 and SH4A are compatible. But some instructions are different from these. In Linux kernel, It is treated as a separate CPU, but for now, I think that there is no need to divide especially in the U-Boot. This removes CONFIG_SH4A definition from source code, SH4A is treated as SH4. And this fix white space. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch/sh/cpu')
-rw-r--r--arch/sh/cpu/sh2/cpu.c4
-rw-r--r--arch/sh/cpu/sh4/cpu.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/arch/sh/cpu/sh2/cpu.c b/arch/sh/cpu/sh2/cpu.c
index 18479a4c40..a2f856f459 100644
--- a/arch/sh/cpu/sh2/cpu.c
+++ b/arch/sh/cpu/sh2/cpu.c
@@ -23,11 +23,7 @@
int checkcpu(void)
{
-#if defined(CONFIG_SH2A)
- puts("CPU: SH2A\n");
-#else
puts("CPU: SH2\n");
-#endif
return 0;
}
diff --git a/arch/sh/cpu/sh4/cpu.c b/arch/sh/cpu/sh4/cpu.c
index 91133a38ae..e8ee0a45ab 100644
--- a/arch/sh/cpu/sh4/cpu.c
+++ b/arch/sh/cpu/sh4/cpu.c
@@ -13,11 +13,7 @@
int checkcpu(void)
{
-#ifdef CONFIG_SH4A
- puts("CPU: SH-4A\n");
-#else
puts("CPU: SH4\n");
-#endif
return 0;
}