summaryrefslogtreecommitdiff
path: root/common/flash.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-08-17 15:36:40 -0500
committerStefan Roese <sr@denx.de>2012-09-03 11:24:27 +0200
commit6822a647b94cb05869231251e5a29f9742bb3ce2 (patch)
tree0232758ddb50f2f8c75d467de0a049e85283a8b4 /common/flash.c
parenta005f19eff946454985785788c344f10616d571e (diff)
downloadu-boot-imx-6822a647b94cb05869231251e5a29f9742bb3ce2.zip
u-boot-imx-6822a647b94cb05869231251e5a29f9742bb3ce2.tar.gz
u-boot-imx-6822a647b94cb05869231251e5a29f9742bb3ce2.tar.bz2
cfi: Check for blank before erase
Added an optional check in the CFI driver to evaluate if the sector is already blank before issuing an erase command. Improves erase time by over a factor of 10 if already blank. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'common/flash.c')
0 files changed, 0 insertions, 0 deletions