Merge branch 'master' of git://git.denx.de/u-boot-samsung
[oweals/u-boot.git] / board / freescale / mpc8569mds / config.mk
index 8895cdac7e3eb87dcd6be3216857fd22113a42ca..86f138c19ca292258aae0bc19bac7f41af9b6c28 100644 (file)
 #
 # mpc8569mds board
 #
-TEXT_BASE = 0xfff80000
+ifndef NAND_SPL
+ifeq ($(CONFIG_MK_NAND), y)
+TEXT_BASE = $(CONFIG_RAMBOOT_TEXT_BASE)
+LDSCRIPT := $(TOPDIR)/$(CPUDIR)/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