diff options
author | Miquel Raynal <miquel.raynal@free-electrons.com> | 2017-08-26 17:19:15 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-09-18 14:53:24 +0200 |
commit | 882fd1577cbe7812ae3a48988180c5f0fda475ca (patch) | |
tree | 9db471e718661368fb9d9861c0c1f2db7f7a956e /drivers/mtd/redboot.c | |
parent | Linux 4.14-rc1 (diff) | |
download | linux-882fd1577cbe7812ae3a48988180c5f0fda475ca.tar.xz linux-882fd1577cbe7812ae3a48988180c5f0fda475ca.zip |
mtd: nand: Use standard large page OOB layout when using NAND_ECC_NONE
Use the core's large page OOB layout functions when not reserving any
space for ECC bytes in the OOB layout. Fix ->nand_ooblayout_ecc_lp()
to return -ERANGE instead of a zero length in this case.
Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/redboot.c')
0 files changed, 0 insertions, 0 deletions