Do Not Merge

Informational purpose only, to aid mainline development of SpacemiT K3
support.
---
 board/spacemit/k3/config.mk | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/board/spacemit/k3/config.mk b/board/spacemit/k3/config.mk
index bb8657ad0247..db871c53047b 100755
--- a/board/spacemit/k3/config.mk
+++ b/board/spacemit/k3/config.mk
@@ -74,13 +74,7 @@ endif
 u-boot.itb: u-boot-nodtb.bin u-boot-dtb.bin u-boot.dtb FORCE
        $(call if_changed,build_itb,$@,$(its),$(key_para))
 
-ifneq ($(CONFIG_SPL_BUILD),)
-INPUTS-y += FSBL.bin
+MKIMAGE := tools/mkimage
+spl/u-boot-spl-mkimage.bin: spl/u-boot-spl.bin
+       ${MKIMAGE} -T smtimage -n k3 -d $< $@
 
-FSBL.bin: spl/u-boot-spl.bin FORCE
-       $(call if_changed,build_spl_platform,$@,$<)
-else
-INPUTS-y += u-boot-env-default.bin
-u-boot-env-default.bin: u-boot-nodtb.bin FORCE
-       $(call if_changed,build_default_env,$@)
-endif
-- 
2.53.0

Reply via email to