mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-26 16:43:01 +00:00
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>
This commit is contained in:
parent
388127abd1
commit
9abd2fb6c4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user