commit | 4d2ca9d6a0452edeaf5922cbae3b939974114214 | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Mon Oct 25 18:31:39 2010 +0200 |
committer | Stefan Roese <sr@denx.de> | Fri Dec 17 09:54:10 2010 +0100 |
tree | fa45d26843bcbe13769af9493707f6f3820efe68 | |
parent | df4e813b72bf07d9026b00455f5e7dffd694ae48 [diff] |
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>