[U-Boot] CONFIG_SYS_FLASH_USE_BUFFER_WRITE breaks writing with M29W640 parts

i started playing with the CONFIG_SYS_FLASH_USE_BUFFER_WRITE option, and it seems to work fine with an intel strataflash. but when i tried using it with an ST M29W640 part, no writes are ever committed to the flash.
are there any known gotchas with this code before i start poking further ? -mike

Hi Mike,
On Tuesday 07 June 2011 00:26:05 Mike Frysinger wrote:
i started playing with the CONFIG_SYS_FLASH_USE_BUFFER_WRITE option, and it seems to work fine with an intel strataflash. but when i tried using it with an ST M29W640 part, no writes are ever committed to the flash.
are there any known gotchas with this code before i start poking further ?
Not that I am aware of. I am using it on all my Intel/Numonyx and AMD/Spansion NOR flash equipped boards without any issues. I don't remember using it on a ST device though. Not sure what's going wrong there, sorry.
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

On 07/06/11 18:22, Stefan Roese wrote:
Hi Mike,
On Tuesday 07 June 2011 00:26:05 Mike Frysinger wrote:
i started playing with the CONFIG_SYS_FLASH_USE_BUFFER_WRITE option, and it seems to work fine with an intel strataflash. but when i tried using it with an ST M29W640 part, no writes are ever committed to the flash.
are there any known gotchas with this code before i start poking further ?
Not that I am aware of. I am using it on all my Intel/Numonyx and AMD/Spansion NOR flash equipped boards without any issues. I don't remember using it on a ST device though. Not sure what's going wrong there, sorry.
I'm running a combination of Intel StrataFlash and AM29LV040B (equivalent to ST29LV040B) and I cannot enable CONFIG_SYS_FLASH_USE_BUFFER_WRITE either - I don't think the AM29 device supports it :(
Regards,
Graeme
participants (3)
-
Graeme Russ
-
Mike Frysinger
-
Stefan Roese