From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Warren Date: Thu, 18 Oct 2007 10:00:43 -0400 Subject: [U-Boot-Users] include/flash.h: Entries for Spansion S29JL064H flash? In-Reply-To: <1192710723.2656.0.camel@rt.jesacco.com> References: <1192710723.2656.0.camel@rt.jesacco.com> Message-ID: <4717670B.3050605@qstreams.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Joseph, Joseph E. Sacco, Ph.D. wrote: > Hi, > > I am new to U-Boot. > [Yes... I have been reading the documentation, albeit slowly. There is > much to learn.] > > I need to modify include/flash.h to support Spansion S29JL064H flash > memory > > http://www.spansion.com/products/S29JL064H.html > > > A search through previous postings to this list did not reveal > appropriate values for > > * Device ID > > * Internal FLASH identification code > > [Do I need one or the other or both?] > This chip is CFI compliant. CFI stands for 'Common Flash Interface', and means that software can learn the chip's topology via a standard query method. In short, you shouldn't need to do anything with flash.h, all you need to do is specify in your board's /include/configs/*.h file that your board uses CFI. Lots of other boards use it, so look through the source to figure out the exact syntax. regards, Ben