[U-Boot-Users] [PATCH] AMD/Spansion write buffer support in cfi_flash.c

alebas at televes.com alebas at televes.com
Tue Aug 30 12:25:53 CEST 2005


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20050830_cfi_flash_B.diff
Type: text/x-patch
Size: 1512 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050830/d7f6910d/attachment.bin 


More information about the U-Boot mailing list