From: Alex BASTOS Date: Thu, 21 Apr 2005 13:18:53 +0200 Subject: [U-Boot-Users] [PATCH] drivers/cfi_flash.c support for 8 BIT mode Spansion CFI Flashes Message-ID: <1114082333.42678c1d22672@webmail.televes.com:443> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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