From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Danter Date: Fri, 15 Jul 2005 15:00:26 +0100 Subject: [U-Boot-Users] AMD29LV800T in 16bit mode x4 devices (64bit bus) - Fixed In-Reply-To: <42D41C31.2090903@ntlworld.com> References: <20050711210531.C1103353AED@atlas.denx.de> <42D41C31.2090903@ntlworld.com> Message-ID: <42D7C17A.3020400@ntlworld.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Richard Danter wrote: > Wolfgang Denk wrote: > >> In message <42D2DC59.6090507@ntlworld.com> you wrote: >> >>> Is there a driver that supports this flash within U-Boot? I can't see >>> one, but want to make sure I didn't miss it before I reinvent the wheel! > > >> >> There are several. First, there is the general CFI driver, and then >> there are several board specific drivers like board/tqm8260/flash.c > > > I have tried both of the suggested drivers with neither working for me. > > I have spent more time looking at the tqm8260/flash.c and have managed > to make some improvements. Initially it was unable to even read back the > device type but I noticed that if I single stepped (using JTAG) the > flash_get_size() function then it _was_ able to correctly read the > device type. It seems with my board I _have_ to write data 64-bits at a time. Writing the lower 32-bits and then the upper 32-bits does not work. I'm using the FP registers now and all works fine. Rich