]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
cfi_flash: Use flash_read32() in sector_erased()
authorStefan Roese <sr@denx.de>
Mon, 25 Oct 2010 16:31:39 +0000 (18:31 +0200)
committerStefan Roese <sr@denx.de>
Fri, 17 Dec 2010 08:54:10 +0000 (09:54 +0100)
commit4d2ca9d6a0452edeaf5922cbae3b939974114214
treefa45d26843bcbe13769af9493707f6f3820efe68
parentdf4e813b72bf07d9026b00455f5e7dffd694ae48
cfi_flash: Use flash_read32() in sector_erased()

The function sector_erased() is modified to not use pointer
access, but to use the correct accessor functions. This fixes a
problem on the t3corp board with the Xilinx DS617 flash chips. Here
a board specific accessor function is needed to read from flash
in 32bit mode. This patch enables such an operation mode.

Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c