diff options
author | Felix Fietkau <nbd@nbd.name> | 2022-03-10 15:20:29 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-10-10 18:14:30 +0200 |
commit | b6487c3cccccd4dc6f6ad33e7821d0bf66976272 (patch) | |
tree | fab298c4eb9791d0fb5afb3d11e4a96963f4e50d /target/linux | |
parent | 33457ebf0beb353664333498a63ac73212c9304f (diff) | |
download | upstream-b6487c3cccccd4dc6f6ad33e7821d0bf66976272.tar.gz upstream-b6487c3cccccd4dc6f6ad33e7821d0bf66976272.tar.bz2 upstream-b6487c3cccccd4dc6f6ad33e7821d0bf66976272.zip |
ramips: skip bbt scan on mt7621
reduces unnecessary flash reads and speeds up boot time
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry-picked from commit 55e8d52157f191bf578cf716983764e64c6f94e4)
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ramips/files/drivers/mtd/nand/raw/mt7621_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/files/drivers/mtd/nand/raw/mt7621_nand.c b/target/linux/ramips/files/drivers/mtd/nand/raw/mt7621_nand.c index c298bdd541..f3a81ee4e2 100644 --- a/target/linux/ramips/files/drivers/mtd/nand/raw/mt7621_nand.c +++ b/target/linux/ramips/files/drivers/mtd/nand/raw/mt7621_nand.c @@ -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; |