]> git.sur5r.net Git - u-boot/commit
cfi_mtd: Fix bug in last sector detection
authorStefan Roese <sr@denx.de>
Mon, 11 May 2009 13:54:13 +0000 (15:54 +0200)
committerWolfgang Denk <wd@denx.de>
Wed, 3 Jun 2009 21:45:27 +0000 (23:45 +0200)
commitdba6fcf6517faa5dda7df8109febe03c9c72a6f5
treeaa163dfef6b498091bf0eba490fd791cdbcc995a
parent7d6900ebe16d679c0e03f8d1584b64057a64ce39
cfi_mtd: Fix bug in last sector detection

This patch now enabled this cfi-mtd wrapper to correctly detect and
erase the last sector in an NOR FLASH device.

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