summaryrefslogtreecommitdiff
path: root/blackfin_config.mk
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-08-07 18:55:30 -0400
committerMike Frysinger <vapier@gentoo.org>2009-01-28 13:26:11 -0500
commit746290dfd86a70b41fc5fdd3df1424a647d5c5e8 (patch)
tree5b4de229ca71e2b48e7507be10645f7da405a35c /blackfin_config.mk
parent0332e4df71fccf9a96c5a4393e3c5d5daa50880a (diff)
downloadu-boot-imx-746290dfd86a70b41fc5fdd3df1424a647d5c5e8.zip
u-boot-imx-746290dfd86a70b41fc5fdd3df1424a647d5c5e8.tar.gz
u-boot-imx-746290dfd86a70b41fc5fdd3df1424a647d5c5e8.tar.bz2
Blackfin: pass --bmode/--initcode when creating ldr
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'blackfin_config.mk')
-rw-r--r--blackfin_config.mk4
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