* [PATCH] image: am335x: Generate SPI MLO images
@ 2015-06-02 8:01 Wadim Egorov
2015-06-04 9:06 ` Sascha Hauer
0 siblings, 1 reply; 4+ messages in thread
From: Wadim Egorov @ 2015-06-02 8:01 UTC (permalink / raw)
To: barebox
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] image: am335x: Generate SPI MLO images
2015-06-02 8:01 [PATCH] image: am335x: Generate SPI MLO images Wadim Egorov
@ 2015-06-04 9:06 ` Sascha Hauer
2015-06-05 6:37 ` Wadim Egorov
0 siblings, 1 reply; 4+ messages in thread
From: Sascha Hauer @ 2015-06-04 9:06 UTC (permalink / raw)
To: Wadim Egorov; +Cc: barebox
On Tue, Jun 02, 2015 at 10:01:07AM +0200, Wadim Egorov wrote:
> 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
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] image: am335x: Generate SPI MLO images
2015-06-04 9:06 ` Sascha Hauer
@ 2015-06-05 6:37 ` Wadim Egorov
2015-06-05 11:30 ` Sascha Hauer
0 siblings, 1 reply; 4+ messages in thread
From: Wadim Egorov @ 2015-06-05 6:37 UTC (permalink / raw)
To: Sascha Hauer; +Cc: barebox
Hello Sascha,
please drop this patch. I don't think this is the right way
to add new image types for the AM335x.
Regards,
Wadim
On 04.06.2015 11:06, Sascha Hauer wrote:
> On Tue, Jun 02, 2015 at 10:01:07AM +0200, Wadim Egorov wrote:
>> 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
> Applied, thanks
>
> Sascha
>
>
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] image: am335x: Generate SPI MLO images
2015-06-05 6:37 ` Wadim Egorov
@ 2015-06-05 11:30 ` Sascha Hauer
0 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2015-06-05 11:30 UTC (permalink / raw)
To: Wadim Egorov; +Cc: barebox
On Fri, Jun 05, 2015 at 08:37:46AM +0200, Wadim Egorov wrote:
> Hello Sascha,
>
> please drop this patch. I don't think this is the right way
> to add new image types for the AM335x.
Ok, did that.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-06-05 11:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-02 8:01 [PATCH] image: am335x: Generate SPI MLO images Wadim Egorov
2015-06-04 9:06 ` Sascha Hauer
2015-06-05 6:37 ` Wadim Egorov
2015-06-05 11:30 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox