From: Wadim Egorov <w.egorov@phytec.de>
To: barebox@lists.infradead.org
Subject: [PATCH] image: am335x: Generate SPI MLO images
Date: Tue, 2 Jun 2015 10:01:07 +0200 [thread overview]
Message-ID: <1433232067-31563-1-git-send-email-w.egorov@phytec.de> (raw)
Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
---
images/Makefile | 2 +-
images/Makefile.am33xx | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/images/Makefile b/images/Makefile
index 587cb26..36c1a57 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -123,6 +123,6 @@ images: $(addprefix $(obj)/, $(image-y)) FORCE
@for i in $(image-y); do echo $$i; done
clean-files := *.pbl *.pblb *.pblx *.map start_*.imximg *.img barebox.z start_*.kwbimg \
- start_*.kwbuartimg *.socfpgaimg *.mlo *.t20img *.t20img.cfg *.t30img \
+ start_*.kwbuartimg *.socfpgaimg *.mlo *.spi *.t20img *.t20img.cfg *.t30img \
*.t30img.cfg *.t124img *.t124img.cfg *.mlospi *.mlo *.mxsbs *.mxssd
clean-files += pbl.lds
diff --git a/images/Makefile.am33xx b/images/Makefile.am33xx
index eae2a6a..ddf4f2b 100644
--- a/images/Makefile.am33xx
+++ b/images/Makefile.am33xx
@@ -4,8 +4,14 @@
quiet_cmd_mlo_image = MLO $@
cmd_mlo_image = scripts/omap_signGP -o $@ -l 0x402f0400 -c $<
+quiet_cmd_mlo_spi_image = SPI-IMG $@.spi
+ cmd_mlo_spi_image = scripts/mk-omap-image -s -a 0x402f0400 $<.mlo > $@.spi
+
$(obj)/%.mlo: $(obj)/% FORCE
$(call if_changed,mlo_image)
+ifdef CONFIG_OMAP_BUILD_SPI
+ $(call if_changed,mlo_spi_image)
+endif
pblx-$(CONFIG_MACH_AFI_GF) += start_am33xx_afi_gf_sdram
FILE_barebox-am33xx-afi-gf.img = start_am33xx_afi_gf_sdram.pblx
--
1.9.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2015-06-02 8:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-02 8:01 Wadim Egorov [this message]
2015-06-04 9:06 ` Sascha Hauer
2015-06-05 6:37 ` Wadim Egorov
2015-06-05 11:30 ` Sascha Hauer
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=1433232067-31563-1-git-send-email-w.egorov@phytec.de \
--to=w.egorov@phytec.de \
--cc=barebox@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox