[U-Boot] [PATCH 1/4] Atmel Dataflash: convert to C struct accessors

Mike Frysinger vapier at gentoo.org
Tue Jun 8 21:20:57 CEST 2010


On Tuesday, June 08, 2010 08:24:33 Thomas Petazzoni wrote:
> On Mon, 7 Jun 2010 18:52:03 -0400 Mike Frysinger wrote:
> > i have to ask ... what exactly is the advantage of the dataflash
> > driver over the common spi flash drivers ?  ive looked a bit and cant
> > pick anything out. better to just scuttle the entire code base imo
> > and unify consumers.
> 
> I don't know the history of both drivers, but indeed it seems that the
> AT91-custom dataflash driver should be replaced by the corresponding
> SPI flash driver. I'll dig into this and see what I can do.

speaking historically, the dataflash code absolutely has its place.  it 
existed long before the SPI flash framework.  but i'm looking forward only 
now.

> However, I only have a Calao USB-A9263 board and an Atmel AT91SAM9261EK
> board here, so I won't be able to test on all Atmel evaluation boards.

i think the first step would be to convert the boards we can and leave a 
#warning for the rest that the dataflash code is being killed off.  then after 
some time, if no one has fixed the remainders, we do our best to convert them.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100608/0bfe4d18/attachment.pgp 


More information about the U-Boot mailing list