diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2017-05-02 10:19:00 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-25 13:44:48 (GMT) |
commit | 5956b2815f90e0749d98ea0baedc49b1792f598b (patch) | |
tree | 99a25b587bf888b8e9f33d60e5b773b0b7528e4d /drivers/block | |
parent | 6639b27f5a4c5425a46b2f1039d390dd1ad7b94f (diff) | |
download | linux-5956b2815f90e0749d98ea0baedc49b1792f598b.tar.xz |
mtd: nand: add ooblayout for old hamming layout
commit 6a623e07694437ad09f382a13f76cffc32239a7f upstream.
The old 1-bit hamming layout requires ECC data to be placed at a
fixed offset, and not necessarily at the end of the OOB area.
Add this old layout back in order to fix legacy setups.
Fixes: 41b207a70d3a ("mtd: nand: implement the default mtd_ooblayout_ops")
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions