aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/pxa3xx_nand.c
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2010-12-16 23:42:19 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2011-01-06 15:36:00 +0000
commita121f643993474548fe98144514c50dd4f3dbe76 (patch)
tree184d54ebdbd62977ed4d672058293638fe2e0b2a /drivers/mtd/nand/pxa3xx_nand.c
parent7fa33ac0a7e24a1b8bd71be5c47a17423c62fbda (diff)
downloadkernel_samsung_smdk4412-a121f643993474548fe98144514c50dd4f3dbe76.zip
kernel_samsung_smdk4412-a121f643993474548fe98144514c50dd4f3dbe76.tar.gz
kernel_samsung_smdk4412-a121f643993474548fe98144514c50dd4f3dbe76.tar.bz2
UBI: use mtd->writebufsize to set minimal I/O unit size
Previously we used mtd->writesize field to set UBI's minimal I/O unit size. This sometimes caused UBIFS recovery issues when mounting an uncleanly unmounted UBIFS partition on NOR flash since mtd->writesize is 1 byte for NOR flash. The MTD CFI driver however often performs writing multiple bytes in one programming operation using the chip's write buffer. We have to use the size of this write buffer as a minimal I/O unit size for UBI on NOR flash to fix the observed UBIFS recovery issues. Signed-off-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/pxa3xx_nand.c')
0 files changed, 0 insertions, 0 deletions