Re: [PATCH 1/3] fpga manager: Add cyclonespi driver for Altera fpgas

From: Moritz Fischer
Date: Fri Oct 07 2016 - 14:43:01 EST

Hi Alan,

On Fri, Oct 7, 2016 at 11:21 AM, atull <atull@xxxxxxxxxxxxxxxxxxxxx> wrote:

> Moritz, Can you remind me what that issue was there (or point me to
> that email, I can't find it)? I don't think I had a problem with that
> in your case. In general I think if these drivers can take the
> bitstream that comes from the manufacturer's tools and stuff it into
> the FPGA, then we are accomplishing what we want. So I am OK with
> this here. The intent of the driver is to load a standard rbf, same
> as the other Altera FPGA drivers.

My first version of the zynq fpga manager had byte swapping in there
and detection of which format was used. Greg even (accidentially)
merged my initial code
which I then cleaned up in 4d10eaff5bfc69997a769f9c83b749f0a8c542fa
("fpga: zynq-fpga: Change fw format to handle bin instead of bit.") to
address the review

I do see your point about useability, and if this is something that
keeps coming up
we could pull that into the framework with a flag to SWAP or as part
of the image_information