
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