diff options
author | Haiying Wang <Haiying.Wang@freescale.com> | 2010-11-10 15:37:13 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2010-11-12 08:51:36 -0600 |
commit | 96196a1f7546904563994d2d041804a816d7c139 (patch) | |
tree | d1d8520f8739401ee8e44f025af9971806741fa5 /nand_spl/board/freescale/mpc8536ds | |
parent | 0635b09cc04b4d0f5bd6fbdf8380d6a564445b87 (diff) | |
download | talos-obmc-uboot-96196a1f7546904563994d2d041804a816d7c139.tar.gz talos-obmc-uboot-96196a1f7546904563994d2d041804a816d7c139.zip |
powerpc/85xx: add CONFIG_SYS_TEXT_BASE_SPL for 85xx nand spl build
Introduce a SPL specific CONFIG_SYS_TEXT_BASE_SPL define to be used by
the linker. This has similiar semantics to CONFIG_SYS_TEXT_BASE however
since SPL is a unqiue image we introduce a new variable to control its
text base address.
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'nand_spl/board/freescale/mpc8536ds')
-rw-r--r-- | nand_spl/board/freescale/mpc8536ds/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nand_spl/board/freescale/mpc8536ds/Makefile b/nand_spl/board/freescale/mpc8536ds/Makefile index d1c0ef8f64..9c9d63e5d8 100644 --- a/nand_spl/board/freescale/mpc8536ds/Makefile +++ b/nand_spl/board/freescale/mpc8536ds/Makefile @@ -24,13 +24,13 @@ # NAND_SPL := y -CONFIG_SYS_TEXT_BASE := 0xfff00000 +CONFIG_SYS_TEXT_BASE_SPL := 0xfff00000 PAD_TO := 0xfff01000 include $(TOPDIR)/config.mk LDSCRIPT= $(TOPDIR)/$(CPUDIR)/u-boot-nand_spl.lds -LDFLAGS = -Bstatic -T $(LDSCRIPT) -Ttext $(CONFIG_SYS_TEXT_BASE) $(PLATFORM_LDFLAGS) +LDFLAGS = -Bstatic -T $(LDSCRIPT) -Ttext $(CONFIG_SYS_TEXT_BASE_SPL) $(PLATFORM_LDFLAGS) AFLAGS += -DCONFIG_NAND_SPL CFLAGS += -DCONFIG_NAND_SPL |