[U-Boot] Non standard CFI detection tweaks

Rogan Dawes rogan at dawes.za.net
Thu Aug 12 15:26:20 CEST 2010


On 2010/08/12 3:14 PM, Reinhard Meyer wrote:

> It is mostly likely a 8/16 bit wide device in 8 bit mode on an 8 bit
> external bus. Then all CFI data appears twice.

Yes, this is exactly what I was seeing.

> Reason: the chip presents CFI data correctly (from the flash point of view)
> in 16 bit mode (flash A0 connected to CPU A1). If connected in 8 bit mode
> (flash A0 connected to CPU A1, flash A-1 connected to CPU A0) it still
> presents the data at the same adresses but the CFI driver gets misled
> because its told to try for 8 bit wide flash.
>
> Since that was an issue long ago, I made the board/emk/common/flash.c
> (CFI) driver. Anyone is welcome to add that special handling for 16 bit
> flash connected in 8 bit mode to the general CFI driver :)

Thanks a lot! I'll take a look, and see if I can understand it. :-)

Rogan


More information about the U-Boot mailing list