Skip to content
Snippets Groups Projects
Commit 9abd2fb6 authored by Chuanhong Guo's avatar Chuanhong Guo
Browse files

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: default avatarChuanhong Guo <gch981213@gmail.com>
parent 388127ab
No related branches found
No related tags found
No related merge requests found
...@@ -700,7 +700,7 @@ ...@@ -700,7 +700,7 @@
+ +
+ if (of_property_read_u8(np, "mediatek,bmt-oob-offset", + if (of_property_read_u8(np, "mediatek,bmt-oob-offset",
+ &bmtd.oob_offset) != 0) + &bmtd.oob_offset) != 0)
+ bmtd.oob_offset = 8; + bmtd.oob_offset = 0;
+ +
+ if (of_property_read_u32(np, "mediatek,bmt-table-size", + if (of_property_read_u32(np, "mediatek,bmt-table-size",
+ &bmt_table_size) != 0) + &bmt_table_size) != 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment