From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Fri, 23 Jul 2010 12:17:55 +0200 Subject: [U-Boot] Non standard CFI detection tweaks In-Reply-To: <4C458214.5060709@dawes.za.net> References: <4C3CC5E5.1040606@dawes.za.net> <201007191533.37947.sr@denx.de> <4C446314.7040702@dawes.za.net> <201007200958.33622.sr@denx.de> <4C456073.3000706@dawes.za.net> <4C4573BF.40405@dawes.za.net> <4C457900.2020200@emk-elektronik.de> <4C457A9C.4020403@dawes.za.net> <4C458041.3080901@emk-elektronik.de> <4C458214.5060709@dawes.za.net> Message-ID: <4C496C53.9020200@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Le 20/07/2010 13:01, Rogan Dawes a ?crit : > On 2010/07/20 12:53 PM, Reinhard Meyer (-VC) wrote: >> Rogan Dawes schrieb: >>> You're not tempted to try to fix the CFI driver for your board anyway, I >>> suppose? :-) >> >> Tempted: YES ! >> >> Time available: (currently) NONE >> >> Being on the wish/todo list: since years :) >> >> (and I might have to add some board specifig #ifdefs because of the >> 16 MB mapping) >> >> BTW.. are you sure the CFI driver cannot handle such a simple flash? >> It might need just the proper #defines. >> After all, the Spansion 8/16-bit wide flashs are not uncommon, >> neither should it be uncommon to connect them in 8-bit mode. >> >> Reinhard > > Hi Reinhard, > > Of course I understand that everyone's time is limited, and my > priorities are not everyone else's. > > If you can point me to the correct defines, I'd be happy to try them. > Unfortunately, I have no real clue what I am doing :-) > > Regards, > > Rogan Hi Rogan, The best, I think, is to go through the ifdefs in the CFI flash detection code and reverse-engineer those defines. You could even maybe update the doc/ directory with the result of this analysis. Amicalement, -- Albert.