From: Wolfgang Denk Date: Tue, 29 Jan 2008 23:40:36 +0100 Subject: [U-Boot-Users] [rfc] new spiflash subsystem In-Reply-To: Your message of "Tue, 29 Jan 2008 08:35:50 +0100." <007701c86250$2a914b90$050514ac@atmel.com> Message-ID: <20080129224036.4C63E247DF@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Ulf, please get your quoting right!!! In message <007701c86250$2a914b90$050514ac@atmel.com> you wrote: > On Monday 28 January 2008, Ulf Samuelsson wrote: > > Unfortunately, this code seems useless, at least for the combination AT91 + > > SPI flash. Some issues: > > > > I believe that the AT45 is not using the same command set as other > > SPI flash memories. I think the commands need to be separated. > > i already accounted for different command sets based on part family. > > > AT45 is much more advanced than other SPI flash. > > yes, but it still has a basic subset which can be used. > > > Did you really test your code on the AT45 series? > > it was the part i developed the code on originally (the 64mbit one). > > > You assume, incorrectly, that all sector sizes are the same size. > > that depends on what level you look at it. sector 0 can be accessed in > pieces, but it can also be treated as one big sector the same as all the > others. this is how i treated it. This looks as if you were replying to your own postings, when you actualy reply to Mike's text!!! Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Intel told us the Pentium would have "RISK" features...