[U-Boot] [PATCH 5/5 v1] integrator: make flash writeable on boot

Wolfgang Denk wd at denx.de
Sun Sep 18 15:24:14 CEST 2011


Dear Albert ARIBAUD,

In message <4E75C4A4.20604 at aribaud.net> you wrote:
> 
> Le 18/09/2011 09:52, Linus Walleij a =E9crit :
> > This reconfigures the EBI (External Bus Interface) on the
> > integrator so that chip select 1, handling the flash memory, is
> > set to writeable. Without this it is not possible for U-Boot to
> > access flash memory and it crashes on startup since CFI won't
> > work properly.
> 
> Do you mean that U-Boot writes to the flash at each boot on this board?

I think this is a misunderstanding of terms.  When we try to
identify the flash type and geomentry in the CFI driver, we do send
certain commands to the flash, and read the returned data.  This
"sending commands" includes write cycles to the flash address space,
so it is necessary that the memory controller setup allows write
cycles on the bus.

This does however NOT mean that any data are programmed into the
flash.

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
Anarchy may not be the best form of government, but it's better  than
no government at all.


More information about the U-Boot mailing list