From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rogan Dawes Date: Wed, 30 Mar 2011 10:01:42 +0200 Subject: [U-Boot] CFI flash broken for 8-bit bus In-Reply-To: <201103252332.39961.Aaron.Williams@caviumnetworks.com> References: <201103172102.33681.Aaron.Williams@caviumnetworks.com> <201103232007.21642.Aaron.Williams@caviumnetworks.com> <4D8B785B.8060602@dawes.za.net> <201103252332.39961.Aaron.Williams@caviumnetworks.com> Message-ID: <4D92E366.8080601@dawes.za.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 2011/03/26 8:32 AM, Aaron Williams wrote: > I am still doing some testing and just added a fix today so that if a flash > chip that supports both 8 and 16-bits is on an 8-bit bus the interface is set > to 8-bits. I'll try and get patches out next week. > > So far it's working fairly well on all of our boards, most of which have an 8- > bit bus but one has a 16-bit bus. I had to change all of the defined addresses > for AMD parts and calculate the 16 and 32-bit addresses by applying a mask. > > The CFI code *should* work if there's an 8-bit part on a 16-bit bus, but it > probably will not support two 8-bit parts in parallel. That should be doable > with some work. > > -Aaron Hi Aaron, I'm looking forward to seeing your patches. With any luck, they'll also work on my board, and a nasty hack can go away. :-) Regards, Rogan