
30 Aug
2005
30 Aug
'05
12:25 p.m.
Yuli,
There is a field in CFI information table which specifies flash interface (offset 0x50 in 8-bit mode, page 53 of S29GLxxxM data sheet). If the flash is x8/x16 and the driver detected that it's in 8-bit mode, this means that it's the above mentioned special case. I'd add a couple of fields to U-Boot's CFI flash structure to hold the addresses. Then simple shift would provide correct addresses.
It may be enough shifting the address each time it is needed (in fact, only two times).
Suggestions?
Alex BASTOS