aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2021-08-24 11:23:21 +0800
committerChuanhong Guo <gch981213@gmail.com>2021-08-27 10:26:25 +0800
commit9abd2fb6c4dd3befa80a5721e7a6bc77506ac778 (patch)
treefa97b3003e1af2ec7e74297655d59abf0d4fe8e0 /target
parent388127abd139d3ebbe761392403d58d58f5957cd (diff)
downloadupstream-9abd2fb6c4dd3befa80a5721e7a6bc77506ac778.tar.gz
upstream-9abd2fb6c4dd3befa80a5721e7a6bc77506ac778.tar.bz2
upstream-9abd2fb6c4dd3befa80a5721e7a6bc77506ac778.zip
mediatek: bmt: set default bmt oob offset to 0
there's no driver level remapping of oob data in the new spi-nand driver and bmt oob signature starts at 0x0 of the dumped oob data. change the default value to 0 for the new spi-nand driver. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/mediatek/patches-5.10/330-mtk-bmt-support.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mediatek/patches-5.10/330-mtk-bmt-support.patch b/target/linux/mediatek/patches-5.10/330-mtk-bmt-support.patch
index ca1e74b863..363d0b857e 100644
--- a/target/linux/mediatek/patches-5.10/330-mtk-bmt-support.patch
+++ b/target/linux/mediatek/patches-5.10/330-mtk-bmt-support.patch
@@ -700,7 +700,7 @@
+
+ if (of_property_read_u8(np, "mediatek,bmt-oob-offset",
+ &bmtd.oob_offset) != 0)
-+ bmtd.oob_offset = 8;
++ bmtd.oob_offset = 0;
+
+ if (of_property_read_u32(np, "mediatek,bmt-table-size",
+ &bmt_table_size) != 0)