[U-Boot] [PATCH] add block write function to spartan3 slave serial load

w.wegner at astro-kom.de w.wegner at astro-kom.de
Fri Dec 4 10:34:45 CET 2009


Dear Wolfgang Denk,

On 2 Dec 2009 at 22:44, Wolfgang Denk wrote:

> Dear Wolfgang Wegner,
> 
> In message <1256918102-3760-1-git-send-email-w.wegner at astro-kom.de> you wrote:
> > Using seperate function calls for each bit-bang of slave serial
> > load can be painfully slow. This patch adds the possibility to
> > supply a block write function that loads the complete block of
> > data in one call (like it can already be done with Altera FPGAs).
> > On an MCF5373L (240 MHz) loading an XC3S4000 this reduces the load
> > time from around 15 seconds to around 3 seconds
> 
> Where is this block write function being implemented?
> 
> I don't see it anywhere in the patch, nor any code that actually uses
> it?

sorry, my wording was probably wrong.
This current patch only adds the framework in the FPGA code needed
to use such a block write function.

Like all FPGA load functions, the function itself is located in my board-
specific code (which is not yet submitted because I have to clean up
some coding style issues in one of the files and it depends on the other
patches I sent). My understanding was that such framework changes
should always be sent as seperate patches and the (new) board that
uses it as a different patch.

Best regards,
Wolfgang



More information about the U-Boot mailing list