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
# 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
# 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
# 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
# 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
# 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
# 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
# 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
# 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
# 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.
# 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.
# 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.
# 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
# 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
# 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
# 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
# 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
# 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.
# 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.
# 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
# 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
# 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
# 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
# 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
# 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
# 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.
# 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
# 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
# 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