
In message 1628E43D99629C46988BE46087A3FBB98BAB33@ep-01.EmbeddedPlanet.local you wrote:
Did you update to the latest driver from git. If not please try and
report back..
Of course. I've learned my lesson before :) In any case, cfi_flash.c has not changed since 2006-11-13.
You must be missing something, i. e. at least the following commits:
Commit: 3a197b2fe49d6fa03978e60af2394efe9c70b527 Author: Haiying Wang Haiying.Wang@freescale.com Wed, 21 Feb 2007 16:52:31 +0100
[PATCH v3] Add sync to ensure flash_write_cmd is fully finished
Some CPUs like PPC, BLACKFIN need sync() to ensure cfi flash write command is fully finished. The sync() is defined in each CPU's io.h file. For those CPUs which do not need sync for now, a dummy sync() is defined in their io.h as well.
Signed-off-by: Haiying Wang Haiying.Wang@freescale.com
plus 5 or 6 more commits that affect drivers/cfi_flash.c
Best regards,
Wolfgang Denk