@@ -69,3 +69,7 @@ LDR_FLAGS += $(LDR_FLAGS-y)
ifeq ($(wildcard $(TOPDIR)/board/$(BOARD)/u-boot.lds*),)
LDSCRIPT = $(obj)arch/$(ARCH)/lib/u-boot.lds.S
endif
+
+ifneq ($(CONFIG_SYS_TEXT_BASE),)
+$(error do not set CONFIG_SYS_TEXT_BASE for Blackfin boards)
+endif
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf536-0.3
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf518-0.0
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf526-0.0
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf527-0.2
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf527-0.0
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf527-0.2
CFLAGS_lib_generic += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf533-0.3
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf533-0.3
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf537-0.2
# Set some default LDR flags based on boot mode.
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf537-0.2
# Set some default LDR flags based on boot mode.
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf537-0.2
# Set some default LDR flags based on boot mode.
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf537-0.2
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf538-0.4
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf548-0.0
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf561-0.5
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf561-0.3
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf532-0.5
# Set some default LDR flags based on boot mode.
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf561-0.5
# Set some default LDR flags based on boot mode.
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf527-0.0
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf533-0.3
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf537-0.2
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf537-0.2
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf548-0.0
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf561-0.3
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf561-0.5
# Set some default LDR flags based on boot mode.
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf532-0.5
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf518-0.0
CFLAGS_lib += -O2
@@ -23,9 +23,6 @@
# MA 02111-1307 USA
#
-# This is not actually used for Blackfin boards so do not change it
-#CONFIG_SYS_TEXT_BASE = do-not-use-me
-
CONFIG_BFIN_CPU = bf537-0.2
CFLAGS_lib += -O2
We don't want/use this value for Blackfin boards, so punt it and have the common code error out when people try to use it. Signed-off-by: Mike Frysinger <vapier@gentoo.org> --- arch/blackfin/config.mk | 4 ++++ board/bct-brettl2/config.mk | 3 --- board/bf518f-ezbrd/config.mk | 3 --- board/bf526-ezbrd/config.mk | 3 --- board/bf527-ad7160-eval/config.mk | 3 --- board/bf527-ezkit/config.mk | 3 --- board/bf527-sdp/config.mk | 3 --- board/bf533-ezkit/config.mk | 3 --- board/bf533-stamp/config.mk | 3 --- board/bf537-minotaur/config.mk | 3 --- board/bf537-pnav/config.mk | 3 --- board/bf537-srv1/config.mk | 3 --- board/bf537-stamp/config.mk | 3 --- board/bf538f-ezkit/config.mk | 3 --- board/bf548-ezkit/config.mk | 3 --- board/bf561-acvilon/config.mk | 3 --- board/bf561-ezkit/config.mk | 3 --- board/blackstamp/config.mk | 3 --- board/blackvme/config.mk | 3 --- board/cm-bf527/config.mk | 3 --- board/cm-bf533/config.mk | 3 --- board/cm-bf537e/config.mk | 3 --- board/cm-bf537u/config.mk | 3 --- board/cm-bf548/config.mk | 3 --- board/cm-bf561/config.mk | 3 --- board/ibf-dsp561/config.mk | 3 --- board/ip04/config.mk | 3 --- board/tcm-bf518/config.mk | 3 --- board/tcm-bf537/config.mk | 3 --- 29 files changed, 4 insertions(+), 84 deletions(-)