From: Sam Song Date: Fri, 4 Aug 2006 20:32:31 +0800 (CST) Subject: [U-Boot-Users] [RFC] CFI Driver Little-Endian write Issue Message-ID: <20060804123231.77800.qmail@web15908.mail.cnb.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Ed Okerson, Recently, Roy Zang released MPC7448 HPC-II platform support to this list and found a CFI Flash driver problem - North-bridge chip TSI108 working as little-endian but write to Flash is byte-swapped in a wrong way. The workaround is to enable CFG_FLASH_USE_BUFFER_WRITE in little endian setting. However, CFG_FLASH_USE_BUFFER_WRITE should have nothing to do with little endian if I am right. So I suspect flash writing with little endian could have some problems. Once I removed little endian stuff in flash_add_byte(), CFI Driver was funtional for MPC7448 HPC-II with/without CFG_FLASH_USE_BUFFER_WRITE. So I'd like to make sure whether my fix is a general thing or just a luck. Thanks, Sam ___________________________________________________________ Mp3???-??????? http://music.yahoo.com.cn/?source=mail_mailbox_footer -------------- next part -------------- A non-text attachment was scrubbed... Name: cfi.diff Type: text/x-patch Size: 1490 bytes Desc: pat1625328208 Url : http://lists.denx.de/pipermail/u-boot/attachments/20060804/b5ce54e5/attachment.bin