summaryrefslogtreecommitdiff
path: root/arch/sparc
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-03-13 19:48:57 +0900
committerTom Rini <trini@ti.com>2014-03-21 16:44:10 -0400
commitece0d370144fdecb6f3ed5738ffe96f5b12f9e96 (patch)
tree3891994a9148a361499ffddbd2dcf3ff0c8d1125 /arch/sparc
parenta8a752c084031905940129f8a6ba303925e0fac9 (diff)
downloadu-boot-imx-ece0d370144fdecb6f3ed5738ffe96f5b12f9e96.zip
u-boot-imx-ece0d370144fdecb6f3ed5738ffe96f5b12f9e96.tar.gz
u-boot-imx-ece0d370144fdecb6f3ed5738ffe96f5b12f9e96.tar.bz2
sparc: consolidate CONFIG_{LEON, LEON2, LEON3} definition
CONFIG_LEON is already defined in arch/sparc/cpu/{leon2,leon3}/config.mk. Remove the redundant definition in board header files. All leon3 boards define CONFIG_LEON3 in board header files. Move the definition to arch/sparc/cpu/leon3/config.mk. CONFIG_LEON2 can be move to arch/sparc/cpu/leon2/config.mk as well. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Daniel Hellstrom <daniel@gaisler.com>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/cpu/leon2/config.mk2
-rw-r--r--arch/sparc/cpu/leon3/config.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/cpu/leon2/config.mk b/arch/sparc/cpu/leon2/config.mk
index f9b0d34..c44b093 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
+PLATFORM_CPPFLAGS += -DCONFIG_LEON -DCONFIG_LEON2
diff --git a/arch/sparc/cpu/leon3/config.mk b/arch/sparc/cpu/leon3/config.mk
index f9b0d34..ca6c9b1 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
+PLATFORM_CPPFLAGS += -DCONFIG_LEON -DCONFIG_LEON3