linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fpga: zynq-fpga: Replacing BIT with BIN format
@ 2015-10-20  0:01 Moritz Fischer
  2015-10-20  0:01 ` [PATCH] fpga: zynq-fpga: Change fw format to handle bin instead of bit Moritz Fischer
  0 siblings, 1 reply; 7+ messages in thread
From: Moritz Fischer @ 2015-10-20  0:01 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

as discussed, here a patch that removes the byteswapping
code, leaving format conversion to userland.

However I added a crude check to bail out early if the sync word
isn't found in the firmware file, to avoid kicking the hardware
unneccesary.

This change requires people to use the appropriate Xilinx tools to
generate the (byteswapped) .bin files.

Cheers,

    Moritz

Moritz Fischer (1):
  fpga: zynq-fpga: Change fw format to handle bin instead of bit.

 drivers/fpga/zynq-fpga.c | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

-- 
2.6.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-20 11:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-20  0:01 [PATCH] fpga: zynq-fpga: Replacing BIT with BIN format Moritz Fischer
2015-10-20  0:01 ` [PATCH] fpga: zynq-fpga: Change fw format to handle bin instead of bit Moritz Fischer
2015-10-20  5:24   ` Mike Looijmans
2015-10-20  8:33     ` Moritz Fischer
2015-10-20  6:54   ` Mike Looijmans
2015-10-20  6:57   ` Mike Looijmans
2015-10-20 11:06     ` Mike Looijmans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).