[U-Boot] [PATCH 09/40] Blackfin: pass --bmode/--initcode when creating ldr

Mike Frysinger vapier at gentoo.org
Fri Jan 23 19:00:10 CET 2009


Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 blackfin_config.mk |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/blackfin_config.mk b/blackfin_config.mk
index c8be75e..7bde449 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
-- 
1.6.1



More information about the U-Boot mailing list