From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 4 Jul 2007 08:20:58 +0200 Subject: [U-Boot-Users] U-boot ColdFire development In-Reply-To: <4791E710007FEB4BBF83775D787F462F0480983B@az33exm22.fsl.freescale.net> References: <20070630020101.60F7D1B2CB9@mercury.denx.de> <200707031053.49630.sr@denx.de> <4791E710007FEB4BBF83775D787F462F0480983B@az33exm22.fsl.freescale.net> Message-ID: <200707040820.58624.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi TsiChung, On Tuesday 03 July 2007, Liew Tsi Chung-r5aahp wrote: > The CFG_FLASH_USE_BUFFER_WRITE does not help in this case because the intel > flash chip on M5329EVB does not support Buffer Write. (It could be verified > by reading the CFI at offset 0x2a) Which chips is it? Just curious. > I were doing an experiment days ago by redirected some of the CFI driver > functions to board specific flash driver functions. I replaced > flash_write_cfiword() in write_buff() to write_data(). Program the flash > for 1MB. flash_add_byte() is ~5s more than total time in board specific > flash driver. Replaced the write_data() flash status check in while loop - > while ((*addr & (u16) FLASH_STATUS_DONE) != (u16) FLASH_STATUS_DONE) to > while(!flash_isset (info, sec, 0, FLASH_STATUS_DONE)), this will add > another ~11s. Seems there is some need to enhance the CFI driver. Unfortunately we don't have an custodian for this anymore. > There are some overhead in the CFI flash driver for non Buffer Write. > Anyway, I am going to use the CFI flash driver from now on. Thanks. We should keep in mind to address you thoughts about speed improvement later. Best regards, Stefan ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================