[U-Boot] [PATCH] sh: sh2: Remove CONFIG_SH2A definition from asm/processor.h

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Thu Jan 9 05:22:09 CET 2014


SH2 and SH2A use a common header. Both checks are not necessary.
This removes CONFIG_SH2A definition from asm/processor.h.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
---
 arch/sh/include/asm/processor.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/sh/include/asm/processor.h b/arch/sh/include/asm/processor.h
index c3441ff..b8677da 100644
--- a/arch/sh/include/asm/processor.h
+++ b/arch/sh/include/asm/processor.h
@@ -1,7 +1,6 @@
 #ifndef _ASM_SH_PROCESSOR_H_
 #define _ASM_SH_PROCESSOR_H_
-#if defined(CONFIG_SH2) || \
-	defined (CONFIG_SH2A)
+#if defined(CONFIG_SH2)
 # include <asm/cpu_sh2.h>
 #elif defined(CONFIG_SH3)
 # include <asm/cpu_sh3.h>
-- 
1.8.5.2



More information about the U-Boot mailing list