All of lore.kernel.org
 help / color / mirror / Atom feed
From: E Shattow <e@freeshell.de>
To: u-boot@lists.u-boot-project.org
Cc: E Shattow <e@freeshell.de>
Subject: [DNM PATCH v1 1/7] reduced SpacemiT K3 vendor BSP: use MKIMAGE build env
Date: Wed, 28 Oct 2026 17:15:49 -0700	[thread overview]
Message-ID: <20261029001555.1890775-2-e@freeshell.de> (raw)
In-Reply-To: <20261029001555.1890775-1-e@freeshell.de>

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	other threads:[~2026-10-29  0:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-29  0:15 [DNM v1 0/7] Guide to build reduced SpacemiT K3 vendor BSP E Shattow
2026-10-29  0:15 ` E Shattow [this message]
2026-10-29  0:15 ` [DNM PATCH v1 2/7] reduced SpacemiT K3 vendor BSP: add guards around config optioned k3.c code E Shattow
2026-10-29  0:15 ` [DNM PATCH v1 3/7] reduced SpacemiT K3 vendor BSP: add fallback fastboot buf addr and size def E Shattow
2026-10-29  0:15 ` [DNM PATCH v1 4/7] reduced SpacemiT K3 vendor BSP: force UART boot when YMODEM_SUPPORT enabled E Shattow
2026-10-29  0:15 ` [DNM PATCH v1 5/7] reduced SpacemiT K3 vendor BSP: add UART SPI defconfig E Shattow
2026-10-29  0:15 ` [DNM PATCH v1 6/7] reduced SpacemiT K3 vendor BSP: add UART (no SPI) defconfig E Shattow
2026-10-29  0:15 ` [DNM PATCH v1 7/7] reduced SpacemiT K3 vendor BSP: set uart compatible for mainline OpenSBI E Shattow
2026-10-29  0:33 ` [DNM v1 0/7] Guide to build reduced SpacemiT K3 vendor BSP (continued) E Shattow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261029001555.1890775-2-e@freeshell.de \
    --to=e@freeshell.de \
    --cc=u-boot@lists.u-boot-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.