mediatek: spi-nand: check for 1 byte BBM only
authorChuanhong Guo <gch981213@gmail.com>
Thu, 7 Apr 2022 02:05:56 +0000 (10:05 +0800)
committerChuanhong Guo <gch981213@gmail.com>
Thu, 28 Apr 2022 10:06:00 +0000 (18:06 +0800)
commit2138956bdc3145fac26d2ba8ac966f31d33cd290
tree00913a2d19324c7eea1c9a524038af24e4b3c22b
parent861efe158ac56da2e00637aed704a77994bec54c
mediatek: spi-nand: check for 1 byte BBM only

the OOB layout in MTK SNFI uses the 2nd byte, and anything using OOB
will make the block a bad-block in spi-nand driver.
Hack it for now. We need a proper solution upstream.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/mediatek/patches-5.15/121-hack-spi-nand-1b-bbm.patch [new file with mode: 0644]