[U-Boot-Users] [PATCH] drivers/cfi_flash.c support for 8 BIT mode Spansion CFI Flashes

Alex BASTOS alebas at televes.com
Thu Apr 21 13:18:53 CEST 2005


Hi,

Attached is a patch which add 8 BIT mode for 8x/16x CFI Flashes
from Spansion S29GLxxxM It has been tested against S29GL032M, but
has no specific checkings, so must be compatible with other ones.

Additionally, CFG_FLASH_USE_BUFFER_WRITE and CFG_FLASH_CFI_AMD_RESET
have to be defined in board config file. As port width is checked in
runtime in flash_detect_cfi, and is not based in board config, I think
this should be unified.

CHANGELOG:
* Patch by Alexandre Bastos, 21 Apr 2005
  - add AMD_ADDR_xxx_8BIT defines for 8 bit mode addresses
  - modify flash_unlock_seq and flash_erase to test portwidth
  - add AMD Command Sets support to flash_write_cfibuffer


Best regards,

Alex BASTOS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20050421_cfi_flash.diff
Type: text/x-patch
Size: 6539 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050421/d5fe7459/attachment.bin 


More information about the U-Boot mailing list