[U-Boot] cfi_flash - bug with flash banks with different sector numbers

Martin Krause Martin.Krause at tqs.de
Mon Mar 21 13:42:00 CET 2011


Hi list,

I encountered a problem with the cfi_flash driver on a board with
two flash banks with a different number of flash secotrs.

It seems that the function find_sector() which tries to speed up 
successive flash accesses does not take into account the current
flash bank correctly.

I created a patch with a fix (see blow), but since I do not
work with current U-Boot, this patch likely will not apply cleanly
to TOT (but is neccessary, since the bug is still present there).

Best regards,
Martin




More information about the U-Boot mailing list