
Hi TsiChung,
On Saturday 30 June 2007, Wolfgang Denk wrote:
There is no speed performance in erasing and reading between common CFI flash driver and board specific flash driver, except programming. CFI flash driver needs ~80s to program 1MB data compare to board specific flash driver needs only ~14s. User has a choice to select them either by
Are you absolutely sure about this? Did you enable CFG_FLASH_USE_BUFFER_WRITE in your board config file?
If yes, then can you please try to explain *why* there is such a speed difference? In general, the CFI driver should be able to do exactly the same what a custom flash driver can do - if there is anything missing, it should be added. Patches welcome.
Yes, I would expect when the write buffering is enabled (Wolfgang mentioned the config option above) the programming speed should be the same to your board specific driver.
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@denx.de =====================================================================