From: Wolfgang Denk Date: Sat, 12 Jan 2008 19:48:26 +0100 Subject: [U-Boot-Users] [PATCH] fix CONFIG_FLASH_CFI_LEGACY compilation In-Reply-To: Your message of "Sat, 12 Jan 2008 14:43:01 +0100." <20080112134301.GA6978@discworld.dascon.de> Message-ID: <20080112184826.EE22024656@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 In message <20080112134301.GA6978@discworld.dascon.de> you wrote: > On Sat, Jan 12, 2008 at 07:27:49AM +0100, Stefan Roese wrote: > > > > No. You CFI/JEDEC rework should be available in the official repository right > > now. Could be that something slipped though. Best would be if you would > > provide a patch that adds the missing JEDEC stuff. > > Okay - after a closer look, just a small change is required. Hm... either you got the patch inverse, or something is seriously broken: > case CFI_CMDSET_INTEL_STANDARD: > case CFI_CMDSET_INTEL_EXTENDED: > - flash_read_jedec_ids_intel(info); > + cmdset_amd_read_jedec_ids(info); > break; For INTEL flashes use the AMD command set, and ... > case CFI_CMDSET_AMD_STANDARD: > case CFI_CMDSET_AMD_EXTENDED: > - flash_read_jedec_ids_amd(info); > + cmdset_intel_read_jedec_ids(info); ...for AMD flashes use the INTEL command set? This makes no sense to me. 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 "If anything can go wrong, it will." - Edsel Murphy