From mboxrd@z Thu Jan 1 00:00:00 1970 From: alebas at televes.com Date: Tue, 30 Aug 2005 12:25:53 +0200 Subject: [U-Boot-Users] [PATCH] AMD/Spansion write buffer support in cfi_flash.c In-Reply-To: <17171.1962.658040.985040@astp0002.localdomain> References: <1125312049.4312e63166b13@webmail.televes.com:443> <17170.63703.889864.432449@astp0002.localdomain> <1125319917.431304ed85742@webmail.televes.com:443> <17171.1962.658040.985040@astp0002.localdomain> Message-ID: <1125397553.43143431e3efa@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 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