X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Ffreescale%2Fmpc8569mds%2Fconfig.mk;h=7de0f7cf7d6cb2382114debb911ff18f6afadc20;hb=995a4b1d83a08223c82c1e15778b02e85e5bba51;hp=36b344e2526891597748eccf8127a54d65f09515;hpb=765547dc5e0e8cbe6b8f4ea8a5d6ff237935c352;p=oweals%2Fu-boot.git diff --git a/board/freescale/mpc8569mds/config.mk b/board/freescale/mpc8569mds/config.mk index 36b344e252..7de0f7cf7d 100644 --- a/board/freescale/mpc8569mds/config.mk +++ b/board/freescale/mpc8569mds/config.mk @@ -1,5 +1,5 @@ # -# Copyright (C) 2009 Freescale Semiconductor, Inc. All rights reserved. +# Copyright (C) 2009 Freescale Semiconductor, Inc. # # See file CREDITS for list of people who contributed to this # project. @@ -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