Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE
[platform/kernel/u-boot.git] / board / atc / config.mk
index 8fc82f3..ff00840 100644 (file)
 # ATC boards
 #
 
-# This should be equal to the CFG_FLASH_BASE define in config_atc.h
+# This should be equal to the CONFIG_SYS_FLASH_BASE define in config_atc.h
 # for the "final" configuration, with U-Boot in flash, or the address
 # in RAM where U-Boot is loaded at for debugging.
 #
 
-ifeq ($(CONFIG_BOOT_ROM),y)
-       TEXT_BASE := 0xFF800000
-       PLATFORM_CPPFLAGS += -DCONFIG_BOOT_ROM
-else
-       TEXT_BASE := 0xFF000000
-endif
+CONFIG_SYS_TEXT_BASE := 0xFF000000
 
 # RAM version
-#TEXT_BASE := 0x100000
+#CONFIG_SYS_TEXT_BASE := 0x100000
 
-PLATFORM_CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) -I$(TOPDIR)
+PLATFORM_CPPFLAGS += -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) \
+       -I$(TOPDIR)