[U-Boot] [PATCH 5/5 v1] integrator: make flash writeable on boot
Albert ARIBAUD
albert.u.boot at aribaud.net
Sun Sep 18 18:24:13 CEST 2011
Le 18/09/2011 15:24, Wolfgang Denk a écrit :
> 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.
Indeed, I had misunderstood the commit message. Apologies.
> Best regards,
>
> Wolfgang Denk
Amicalement,
--
Albert.
More information about the U-Boot
mailing list