[U-Boot] CFI flash broken for 8-bit bus

Rogan Dawes rogan at dawes.za.net
Thu Mar 24 17:59:07 CET 2011


On 2011/03/24 5:07 AM, Aaron Williams wrote:
> I have it working on our 8-bit boards properly now, though I've only done some 
> limited testing.
> 
> I basically put in the correct addresses into cfi_flash.h and updated various 
> addresses for 8-bit support. The problem was that the CFI code was written 
> using the 16-bit addresses which don't work for an 8-bit bus.
> 
> I added a mask which is used to calculate the correct address for 16 and 32-
> bit busses. I have only been able to test with 8-bit and 16-bit Spansion 
> devices though.
> 
> -Aaron


Hi Aaron,

I'm happy to test it, when you post the patch.

Regards,

Rogan



More information about the U-Boot mailing list