From: Mike Frysinger Date: Tue, 8 Jun 2010 15:20:57 -0400 Subject: [U-Boot] [PATCH 1/4] Atmel Dataflash: convert to C struct accessors In-Reply-To: <20100608142433.268060ee@surf> References: <4C0CE8A6.8080608@bumblecow.com> <201006071852.04592.vapier@gentoo.org> <20100608142433.268060ee@surf> Message-ID: <201006081520.58084.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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