From 8ae86b76c648d8bef97241c78e2fddb1c4f164d3 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Fri, 4 Feb 2011 14:25:17 +0100 Subject: Make STANDALONE_LOAD_ADDR configurable per board Rename STANDALONE_LOAD_ADDR into CONFIG_STANDALONE_LOAD_ADDR and allow that the architecture-specific default value gets overwritten by defining the value in the board header file. Signed-off-by: Wolfgang Denk Cc: Mike Frysinger Cc: Shinya Kuribayashi Cc: Daniel Hellstrom Cc: Tsi Chung Liew Cc: Nobuhiro Iwamatsu --- arch/powerpc/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/powerpc/config.mk') diff --git a/arch/powerpc/config.mk b/arch/powerpc/config.mk index 8d72fbd..3afc439 100644 --- a/arch/powerpc/config.mk +++ b/arch/powerpc/config.mk @@ -23,7 +23,7 @@ CROSS_COMPILE ?= ppc_8xx- -STANDALONE_LOAD_ADDR = 0x40000 +CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000 LDFLAGS_FINAL += --gc-sections PLATFORM_RELFLAGS += -fpic -mrelocatable -ffunction-sections -fdata-sections PLATFORM_RELFLAGS += $(call cc-option,-msingle-pic-base,) -- cgit v1.1