From c52d4f5745bde9e9d0dedc761ae3c0566aa5e2e1 Mon Sep 17 00:00:00 2001 From: Ruilin Hao Date: Thu, 10 Dec 2015 00:36:10 -0800 Subject: 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 Original-Commit-Id: 4b2a990150580e0b879a346ed8b71b3765b66bab Original-Change-Id: I7e89b5e96206fde97ce69c296850122fd6c858f9 Original-Signed-off-by: Kefei Yao Original-Reviewed-on: https://chromium-review.googlesource.com/318046 Original-Commit-Ready: Kan Yan Original-Tested-by: Kan Yan Original-Reviewed-by: Furquan Shaikh Original-Reviewed-by: Kan Yan Original-Reviewed-by: Yuji Sasaki Reviewed-on: https://review.coreboot.org/13137 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/soc/marvell/armada38x/Makefile.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/soc') 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 $< -- cgit v1.2.3