aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKumar Gala2009-09-09 11:40:41 -0500
committerKumar Gala2009-09-09 21:04:47 -0500
commit6c97a20d0b2f56cb4f3745d94b1f96986e8cced5 (patch)
treeac799251a83a4c4bf6783f51d3e24553b40692fd /config.mk
parentc348322ac7f76318295cf25ffab2cc2a4900a234 (diff)
downloadu-boot-6c97a20d0b2f56cb4f3745d94b1f96986e8cced5.tar.gz
u-boot-6c97a20d0b2f56cb4f3745d94b1f96986e8cced5.tar.xz
u-boot-6c97a20d0b2f56cb4f3745d94b1f96986e8cced5.zip
ppc/85xx: Introduce RESET_VECTOR_ADDRESS to handle non-standard link address
Some board ports place TEXT_BASE at a location that would cause the RESET_VECTOR_ADDRESS not to be at 0xfffffffc when we link. By default we assume RESET_VECTOR_ADDRESS will be 0xfffffffc if the board doesn't explicitly set it. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 885215799e..8cfd60c86c 100644
--- a/config.mk
+++ b/config.mk
@@ -128,6 +128,10 @@ ifneq ($(TEXT_BASE),)
128CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) 128CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE)
129endif 129endif
130 130
131ifneq ($(RESET_VECTOR_ADDRESS),)
132CPPFLAGS += -DRESET_VECTOR_ADDRESS=$(RESET_VECTOR_ADDRESS)
133endif
134
131ifneq ($(OBJTREE),$(SRCTREE)) 135ifneq ($(OBJTREE),$(SRCTREE))
132CPPFLAGS += -I$(OBJTREE)/include2 -I$(OBJTREE)/include 136CPPFLAGS += -I$(OBJTREE)/include2 -I$(OBJTREE)/include
133endif 137endif