[U-Boot] CFI Driver Problem: flash not ready
stefano babic
sbabic at denx.de
Mon Oct 20 10:00:43 CEST 2008
Wolfgang Denk wrote:
> Why the heck does flash_is_busy() return 0 when the flashobviously is
> still busy?
flash_is_busy() implements the toggling check. Of course, it should
work, but I remember I had in the past a similar problem and I switched
to the DQ7 bit algorithm (for erasing, it means I checked 0xFF for the
whole bus width).
Linux mtd does not implement the toggling algorithm to check if the
flash is erased and it relies on the values read from the flash.
Could be a solution to add a check for 0xFF in cfi_flash.c:flash_erase()
after flash_full_status_check() returns successfully ?
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
More information about the U-Boot
mailing list