[U-Boot-Users] U-boot ColdFire development
Stefan Roese
sr at denx.de
Wed Jul 4 08:20:58 CEST 2007
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
=====================================================================
More information about the U-Boot
mailing list