mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
ramips: skip bbt scan on mt7621
reduces unnecessary flash reads and speeds up boot time Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
4947623d6c
commit
55e8d52157
@ -1229,7 +1229,7 @@ static int mt7621_nfc_init_chip(struct mt7621_nfc *nfc)
|
||||
nand_set_controller_data(nand, (void *)nfc);
|
||||
nand_set_flash_node(nand, nfc->dev->of_node);
|
||||
|
||||
nand->options |= NAND_USES_DMA | NAND_NO_SUBPAGE_WRITE;
|
||||
nand->options |= NAND_USES_DMA | NAND_NO_SUBPAGE_WRITE | NAND_SKIP_BBTSCAN;
|
||||
if (!nfc->nfi_clk)
|
||||
nand->options |= NAND_KEEP_TIMINGS;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user