bcm63xx: nand: fix OOB R/W for non Hamming ECC
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Fri, 22 Jan 2021 10:10:12 +0000 (11:10 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Fri, 22 Jan 2021 10:36:49 +0000 (11:36 +0100)
commit2d8422842c7b2ca91956d9629f41083f99f12eac
tree588311dbef614359b817adb18587f71fb0a6c6a9
parentb3eccbca7c476c967af8e56c73061df2893ded7d
bcm63xx: nand: fix OOB R/W for non Hamming ECC

Hamming ECC devices do not cover OOB data, as opposed to BCH ECC devices.
Therefore, disabling ECC for all devices is preventing BCH devices from
correctly reading and writing the OOB data.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bcm63xx/patches-5.4/434-nand-brcmnand-fix-OOB-R-W-with-Hamming-ECC.patch [new file with mode: 0644]
target/linux/bcm63xx/patches-5.4/434-nand-raw-use-write_oob_raw-for-MTD_OPS_AUTO_OOB-mode.patch [deleted file]