diff options
author | Konstantin Porotchkin <kostap@marvell.com> | 2017-03-20 15:50:11 +0200 |
---|---|---|
committer | Konstantin Porotchkin <kostap@marvell.com> | 2017-04-02 17:33:23 +0300 |
commit | 38560c8f99c907d44abbcc5eee1b82feab256a67 (patch) | |
tree | 72f6b2f17ef51b5395745afb341cb437990d734d /make_helpers | |
parent | 40f9219872b6dd906e25dfd421ae6026f1ab2bd7 (diff) |
ble: Add BLE stage used by Marvell platforms for DDR init
Add BLE stage that runs in BootROM context and used by
Marvell platforms for DRAM initialization and training.
Change-Id: I989b7298c47446824b25c4b68d27bd2379462035
Signed-off-by: Haim Boot <hayim@marvell.com>
Signed-off-by: Yehuda Yitschak <yehuday@marvell.com>
Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/37915
Diffstat (limited to 'make_helpers')
-rw-r--r-- | make_helpers/build_macros.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/make_helpers/build_macros.mk b/make_helpers/build_macros.mk index 16bdd788..7bea01df 100644 --- a/make_helpers/build_macros.mk +++ b/make_helpers/build_macros.mk @@ -330,6 +330,7 @@ define MAKE_BL $(eval DUMP := $(call IMG_DUMP,$(1))) $(eval BIN := $(call IMG_BIN,$(1))) $(eval BL_LINKERFILE := $(BL$(call uppercase,$(1))_LINKERFILE)) + $(eval BL_LIBS := $(BL$(call uppercase,$(1))_LIBS)) # We use sort only to get a list of unique object directory names. # ordering is not relevant but sort removes duplicates. $(eval TEMP_OBJ_DIRS := $(sort $(BUILD_DIR)/ $(dir ${OBJS}))) @@ -351,7 +352,7 @@ bl${1}_dirs: | ${OBJ_DIRS} $(eval $(call MAKE_OBJS,$(BUILD_DIR),$(SOURCES),$(1))) $(eval $(call MAKE_LD,$(LINKERFILE),$(BL_LINKERFILE))) -$(ELF): $(OBJS) $(LINKERFILE) | bl$(1)_dirs +$(ELF): $(OBJS) $(LINKERFILE) | bl$(1)_dirs $(BL_LIBS) @echo " LD $$@" ifdef MAKE_BUILD_STRINGS $(call MAKE_BUILD_STRINGS, $(BUILD_DIR)/build_message.o) @@ -361,7 +362,7 @@ else $$(CC) $$(TF_CFLAGS) $$(CFLAGS) -xc - -o $(BUILD_DIR)/build_message.o endif $$(Q)$$(LD) -o $$@ $$(LDFLAGS) -Map=$(MAPFILE) --script $(LINKERFILE) \ - $(BUILD_DIR)/build_message.o $(OBJS) + $(BUILD_DIR)/build_message.o $(OBJS) $(BL_LIBS) $(DUMP): $(ELF) @echo " OD $$@" |