drivers/cfi_flash.c support for 8 BIT mode Spansion CFI Flashes
PATCH 1/1 drivers/cfi_flash.c support for 8 BIT mode Spansion CFI Flashes
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
PATCH 1/1 drivers/cfi_flash.c support for 8 BIT mode Spansion CFI Flashes
Quoted 6 lines · In message <[email protected]:443> you wrote:
CHANGELOG:
* Patch by Alexandre Bastos, 21 Apr 2005
- addAMD_ADDR_xxx_8BITdefines for 8 bit mode addresses
- modifyflash_unlock_seqandflash_eraseto test portwidth
- add AMD Command Sets support toflash_write_cfibuffer
Not used. Version from Txema Lopez <[email protected]> from 16 Jan 2006 applied instead.
Closed. Thanks..
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Everybody is talking about the weather but nobody does anything about it." - Mark Twain