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>
Sat, 9 Apr 2022 12:31:10 +0000 (20:31 +0800)
commit3b39b3076d839f97912e4dc28f98142059ce71e9
tree5371f2d3a93ba1bdcb679460b6ba4475422851c4
parent10c99fbf737c8deed551b0a7ee4b6b70b732c766
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]