[U-Boot] [RFC PATCH 12/17] sparc: remove redundant CPU family definition

Masahiro Yamada yamada.m at jp.panasonic.com
Mon Mar 17 09:53:07 CET 2014


CONFIG_LEON2, CONFIG_LEON3 are defined in Kconfig.

Remove the redundant definition in arch/sparc/cpu/*/config.mk.

Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---

 arch/sparc/cpu/leon2/config.mk | 2 +-
 arch/sparc/cpu/leon3/config.mk | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/sparc/cpu/leon2/config.mk b/arch/sparc/cpu/leon2/config.mk
index c44b093..f9b0d34 100644
--- a/arch/sparc/cpu/leon2/config.mk
+++ b/arch/sparc/cpu/leon2/config.mk
@@ -7,4 +7,4 @@
 
 PLATFORM_RELFLAGS += -fPIC
 
-PLATFORM_CPPFLAGS += -DCONFIG_LEON -DCONFIG_LEON2
+PLATFORM_CPPFLAGS += -DCONFIG_LEON
diff --git a/arch/sparc/cpu/leon3/config.mk b/arch/sparc/cpu/leon3/config.mk
index ca6c9b1..f9b0d34 100644
--- a/arch/sparc/cpu/leon3/config.mk
+++ b/arch/sparc/cpu/leon3/config.mk
@@ -7,4 +7,4 @@
 
 PLATFORM_RELFLAGS += -fPIC
 
-PLATFORM_CPPFLAGS += -DCONFIG_LEON -DCONFIG_LEON3
+PLATFORM_CPPFLAGS += -DCONFIG_LEON
-- 
1.8.3.2



More information about the U-Boot mailing list