]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/freescale/mpc8569mds/config.mk
Create CPUDIR variable
[karo-tx-uboot.git] / board / freescale / mpc8569mds / config.mk
index 962f79b747732abb8bbb9024e690dd78d85c107b..86f138c19ca292258aae0bc19bac7f41af9b6c28 100644 (file)
 #
 # mpc8569mds board
 #
+ifndef NAND_SPL
+ifeq ($(CONFIG_MK_NAND), y)
+TEXT_BASE = $(CONFIG_RAMBOOT_TEXT_BASE)
+LDSCRIPT := $(TOPDIR)/$(CPUDIR)/u-boot-nand.lds
+endif
+endif
+
+ifndef TEXT_BASE
 TEXT_BASE = 0xfff80000
+endif