mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 2/2] socfpga: Stop putting 512 byte header on SocFPGA images
@ 2016-05-20 23:11 Trent Piepho
  0 siblings, 0 replies; only message in thread
From: Trent Piepho @ 2016-05-20 23:11 UTC (permalink / raw)
  To: barebox

Since images without the extra header now boot correctly, stop adding
it.  This makes the image 512 bytes smaller.

It also gives the image a correct barebox header.  The 512 byte extra
header looked like a barebox header (had a "barebox\n" signature) but
had incorrect size and text start fields.

Signed-off-by: Trent Piepho <tpiepho@kymetacorp.com>
---
 images/Makefile.socfpga | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/images/Makefile.socfpga b/images/Makefile.socfpga
index 7e642c0..21804d9 100644
--- a/images/Makefile.socfpga
+++ b/images/Makefile.socfpga
@@ -5,7 +5,7 @@
 # %.socfpgaimg - convert into socfpga image
 # ----------------------------------------------------------------
 quiet_cmd_socfpga_image = SOCFPGA-IMG $@
-      cmd_socfpga_image = scripts/socfpga_mkimage -b -o $@ $<
+      cmd_socfpga_image = scripts/socfpga_mkimage -o $@ $<
 
 $(obj)/%.socfpgaimg: $(obj)/% FORCE
 	$(call if_changed,socfpga_image)
-- 
2.7.0.25.gfc10eb5.dirty


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-20 23:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-20 23:11 [PATCH 2/2] socfpga: Stop putting 512 byte header on SocFPGA images Trent Piepho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox