Home
last modified time | relevance | path

Searched hist:"0 dc80e2759fba859ccc4cdadc633577ca2971f3e" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/mtd/
H A Dcfi_flash.c0dc80e2759fba859ccc4cdadc633577ca2971f3e Thu Dec 27 06:50:54 UTC 2007 Stefan Roese <sr@denx.de> cfi_flash: Add missing check for erased dest to flash_write_cfibuffer()

The check for an sufficiently erased destination was missing in the
buffered write function of the cfi flash driver (when
CFG_FLASH_USE_BUFFER_WRITE is defined). This patch adds this check to that
writing to such a region will fail with the currect error message.

Signed-off-by: Stefan Roese <sr@denx.de>