Skip to content

Commit

Permalink
ramips: skip bbt scan on mt7621
Browse files Browse the repository at this point in the history
reduces unnecessary flash reads and speeds up boot time

Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
nbd168 committed Mar 25, 2022
1 parent 4947623 commit 55e8d52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 55e8d52

Please sign in to comment.