[PATCH v3] Add sync to ensure flash_write_cmd is fully finished
authorHaiying Wang <Haiying.Wang@freescale.com>
Wed, 21 Feb 2007 15:52:31 +0000 (16:52 +0100)
committerStefan Roese <sr@denx.de>
Wed, 21 Feb 2007 15:52:31 +0000 (16:52 +0100)
commit3a197b2fe49d6fa03978e60af2394efe9c70b527
tree829eea16bc1c69fbf27545788bb104cda033f3e8
parentda04995c7dc6772013a9a0dc5c767f190c402478
[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>
drivers/cfi_flash.c
include/asm-arm/io.h
include/asm-avr32/io.h
include/asm-blackfin/io.h
include/asm-i386/io.h
include/asm-m68k/io.h
include/asm-microblaze/io.h
include/asm-mips/io.h
include/asm-nios/io.h
include/asm-nios2/io.h
include/asm-ppc/io.h