summaryrefslogtreecommitdiff
path: root/src/soc/marvell
diff options
context:
space:
mode:
authorRuilin Hao <rlhao@marvell.com>2015-12-10 00:36:10 -0800
committerPatrick Georgi <pgeorgi@google.com>2016-02-11 14:16:08 +0100
commitc52d4f5745bde9e9d0dedc761ae3c0566aa5e2e1 (patch)
tree5c9d43fb4f513a8a8f0bea7a183e2653167d8362 /src/soc/marvell
parent3bc543a5c320b7edb67e8951c8e7a897a01af8a9 (diff)
downloadcoreboot-c52d4f5745bde9e9d0dedc761ae3c0566aa5e2e1.tar.xz
util/marvell: Add Marvell doimage utility and dependency in relevant Makefile
- Add the doimage sources in util/marvell - Add dependency in root makefile - Add dependency in makefile for armada38x soc BUG=chrome-os-partner:47462 TEST=emerge-cyclone coreboot BRANCH=tot Change-Id: I81b30e0865cbd619a41659c3f2819ad3bafc5f24 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 4b2a990150580e0b879a346ed8b71b3765b66bab Original-Change-Id: I7e89b5e96206fde97ce69c296850122fd6c858f9 Original-Signed-off-by: Kefei Yao <kfyao@marvell.com> Original-Reviewed-on: https://chromium-review.googlesource.com/318046 Original-Commit-Ready: Kan Yan <kyan@google.com> Original-Tested-by: Kan Yan <kyan@google.com> Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org> Original-Reviewed-by: Kan Yan <kyan@google.com> Original-Reviewed-by: Yuji Sasaki <sasakiy@chromium.org> Reviewed-on: https://review.coreboot.org/13137 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/marvell')
-rw-r--r--src/soc/marvell/armada38x/Makefile.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/marvell/armada38x/Makefile.inc b/src/soc/marvell/armada38x/Makefile.inc
index c62d95f96e..c55bfff6e3 100644
--- a/src/soc/marvell/armada38x/Makefile.inc
+++ b/src/soc/marvell/armada38x/Makefile.inc
@@ -34,10 +34,10 @@ ramstage-y += clock.c
CPPFLAGS_common += -Isrc/soc/marvell/armada38x/include/ -Isrc/commonlib/include/commonlib/
-BIN_HDR = 3rdparty/blobs/cpu/marvell/armada38x/bin_hdr.bin
-DOIMAGE = 3rdparty/blobs/cpu/marvell/armada38x/doimage
+BIN_HDR = 3rdparty/cpu/marvell/armada38x/bin_hdr.bin
+DOIMAGE = $(objutil)/marvell/doimage_mv/doimage
-$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
+$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin $(DOIMAGE)
@chmod a+x $(DOIMAGE)
$(DOIMAGE) -T flash -D 0 -E 0 -G $(BIN_HDR) $< $@
rm $<