]> git.dujemihanovic.xyz Git - u-boot.git/commit
nand: Fix nand_erase_opts() offset check
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Mon, 5 Nov 2012 10:16:15 +0000 (10:16 +0000)
committerScott Wood <scottwood@freescale.com>
Mon, 26 Nov 2012 21:41:28 +0000 (15:41 -0600)
commit8156f732ee49fc4d91aef1ce09fb6679b3a23c0c
treee22891e91d56005029071231f64491ba4d2ba760
parentbd74280d6218c7bd09021038c92aa07e8a118cc1
nand: Fix nand_erase_opts() offset check

NAND Flash is erased by blocks, not by pages.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/nand_util.c