From: Mike Frysinger Date: Thu, 7 Aug 2008 22:55:30 +0000 (-0400) Subject: Blackfin: pass --bmode/--initcode when creating ldr X-Git-Tag: v2009.03-rc1~147^2~30 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=746290dfd86a70b41fc5fdd3df1424a647d5c5e8;p=u-boot Blackfin: pass --bmode/--initcode when creating ldr Signed-off-by: Mike Frysinger --- diff --git a/blackfin_config.mk b/blackfin_config.mk index c8be75e08e..7bde449263 100644 --- a/blackfin_config.mk +++ b/blackfin_config.mk @@ -33,7 +33,11 @@ endif SYM_PREFIX = _ +LDR_FLAGS += --bmode $(subst BFIN_BOOT_,,$(CONFIG_BFIN_BOOT_MODE)) LDR_FLAGS += --use-vmas +ifneq ($(CONFIG_BFIN_BOOT_MODE),BFIN_BOOT_BYPASS) +LDR_FLAGS += --initcode $(obj)cpu/$(CPU)/initcode.o +endif ifneq (,$(findstring s,$(MAKEFLAGS))) LDR_FLAGS += --quiet endif