diff options
author | Anatolij Gustschin <agust@denx.de> | 2011-02-10 16:01:46 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2011-03-11 14:22:46 +0000 |
commit | 13ce77f46c79a3839e4c2ff9722c9416c165f498 (patch) | |
tree | db584a38edc5478ffdd6326afbffddf7f9158dd5 /include/linux/mtd | |
parent | d8f90b2c9d521500bcd4a1ecdcdb283bfdd2186f (diff) | |
download | linux-13ce77f46c79a3839e4c2ff9722c9416c165f498.tar.gz linux-13ce77f46c79a3839e4c2ff9722c9416c165f498.tar.bz2 linux-13ce77f46c79a3839e4c2ff9722c9416c165f498.zip |
mtd: cfi: fix writebufsize initialization
When initializing mtd->writebufsize, we must take into account
possible flash chip interleaving. Wrong writebufsize initialization
caused UBIFS recovery issues resulting in unmountable UBIFS file
system on NOR flash partitions.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Guillaume LECERF <glecerf@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/mtd')
0 files changed, 0 insertions, 0 deletions