summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/processor.h
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/include/asm/processor.h
parent8f0960e8378e0fc14d6216f60910994c217d3d57 (diff)
downloadu-boot-imx-6b87abe3ac357649a990c05a6a5f9fd232cca21c.zip
u-boot-imx-6b87abe3ac357649a990c05a6a5f9fd232cca21c.tar.gz
u-boot-imx-6b87abe3ac357649a990c05a6a5f9fd232cca21c.tar.bz2
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/include/asm/processor.h')
-rw-r--r--arch/sh/include/asm/processor.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/sh/include/asm/processor.h b/arch/sh/include/asm/processor.h
index 938a89c..c3441ff 100644
--- a/arch/sh/include/asm/processor.h
+++ b/arch/sh/include/asm/processor.h
@@ -3,10 +3,9 @@
#if defined(CONFIG_SH2) || \
defined (CONFIG_SH2A)
# include <asm/cpu_sh2.h>
-#elif defined (CONFIG_SH3)
+#elif defined(CONFIG_SH3)
# include <asm/cpu_sh3.h>
-#elif defined (CONFIG_SH4) || \
- defined (CONFIG_SH4A)
+#elif defined(CONFIG_SH4)
# include <asm/cpu_sh4.h>
#endif
#endif