summaryrefslogtreecommitdiff
path: root/scripts/check_extable.sh
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2016-11-25 11:32:32 +0100
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-08-23 16:49:21 +0200
commit3bff08dffe3115a25ce04b95ea75f6d868572c60 (patch)
tree04d973768bb3404725ccc0ae8f5ed26bd465ada2 /scripts/check_extable.sh
parentfcf59f1ff525bc6400a893e2a0820afcf815f4c3 (diff)
mtd: nand: mxc: Fix mxc_v1 ooblayout
Commit a894cf6c5a82 ("mtd: nand: mxc: switch to mtd_ooblayout_ops") introduced a bug in the OOB layout description. Even if the driver claims that 3 ECC bytes are reserved to protect 512 bytes of data, it's actually 5 ECC bytes to protect 512+6 bytes of data (some OOB bytes are also protected using extra ECC bytes). Fix the mxc_v1_ooblayout_{free,ecc}() functions to reflect this behavior. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Fixes: a894cf6c5a82 ("mtd: nand: mxc: switch to mtd_ooblayout_ops") Cc: <stable@vger.kernel.org> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'scripts/check_extable.sh')
0 files changed, 0 insertions, 0 deletions