X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Ffreescale%2Fmpc8569mds%2Fconfig.mk;h=7de0f7cf7d6cb2382114debb911ff18f6afadc20;hb=995a4b1d83a08223c82c1e15778b02e85e5bba51;hp=8895cdac7e3eb87dcd6be3216857fd22113a42ca;hpb=4c2e3da82dc2b7f8b39b7f1d57f570e4bc5caa6d;p=oweals%2Fu-boot.git diff --git a/board/freescale/mpc8569mds/config.mk b/board/freescale/mpc8569mds/config.mk index 8895cdac7e..7de0f7cf7d 100644 --- a/board/freescale/mpc8569mds/config.mk +++ b/board/freescale/mpc8569mds/config.mk @@ -23,8 +23,13 @@ # # 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