Nand boot: Add nand boot support for MPC8569mds board
[kernel/u-boot.git] / board / freescale / mpc8569mds / config.mk
index 8895cda..7de0f7c 100644 (file)
 #
 # mpc8569mds board
 #
-TEXT_BASE = 0xfff80000
+ifndef NAND_SPL
+ifeq ($(CONFIG_MK_NAND), y)
+TEXT_BASE = $(CONFIG_RAMBOOT_TEXT_BASE)
+LDSCRIPT := $(TOPDIR)/cpu/$(CPU)/u-boot-nand.lds
+endif
+endif
 
-PLATFORM_CPPFLAGS += -DCONFIG_E500=1
-PLATFORM_CPPFLAGS += -DCONFIG_MPC85xx=1
-PLATFORM_CPPFLAGS += -DCONFIG_MPC8569=1
+ifndef TEXT_BASE
+TEXT_BASE = 0xfff80000
+endif