[U-Boot-Users] CFI flash driver problem

Wolfgang Denk wd at denx.de
Tue Feb 27 21:52:12 CET 2007


In message <1628E43D99629C46988BE46087A3FBB98BAB33 at ep-01.EmbeddedPlanet.local> you wrote:
> >Did you update to the latest driver from git. If not please try and
> report back..
> 
> Of course. I've learned my lesson before :) In any case, cfi_flash.c has
> not changed since 2006-11-13. 

You must be missing something, i. e. at least the following commits:

Commit: 3a197b2fe49d6fa03978e60af2394efe9c70b527 
Author: Haiying Wang <Haiying.Wang at freescale.com> Wed, 21 Feb 2007 16:52:31 +0100 

    [PATCH v3] Add sync to ensure flash_write_cmd is fully finished
    
    Some CPUs like PPC, BLACKFIN need sync() to ensure cfi flash write command
    is fully finished. The sync() is defined in each CPU's io.h file. For
    those CPUs which do not need sync for now, a dummy sync() is defined in
    their io.h as well.
    
    Signed-off-by: Haiying Wang <Haiying.Wang at freescale.com>

plus 5 or 6 more commits that affect drivers/cfi_flash.c

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Life and death are seldom logical."
"But attaining a desired goal always is."
	-- McCoy and Spock, "The Galileo Seven", stardate 2821.7




More information about the U-Boot mailing list