summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/ndfc.c
diff options
context:
space:
mode:
authorSandeep Paulraj <s-paulraj@ti.com>2009-11-07 14:25:18 -0500
committerScott Wood <scottwood@freescale.com>2009-11-13 16:56:16 -0600
commit5df3c2b62cebaa0ddb2817364f93726e5dbe3525 (patch)
treeef484fb6a841c028f6684c216505948d07eb9128 /drivers/mtd/nand/ndfc.c
parent18b5a4b43af3c8359cb568f4fa32d6b9dcebbf26 (diff)
downloadu-boot-imx-5df3c2b62cebaa0ddb2817364f93726e5dbe3525.zip
u-boot-imx-5df3c2b62cebaa0ddb2817364f93726e5dbe3525.tar.gz
u-boot-imx-5df3c2b62cebaa0ddb2817364f93726e5dbe3525.tar.bz2
NAND: Don't walk past end of oobfree[]
When computing oobavail from the list of free areas in the OOB, don't assume there will always be an unused slot at the end. This syncs up with the kernel NAND driver. Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'drivers/mtd/nand/ndfc.c')
0 files changed, 0 insertions, 0 deletions