mediatek: mt7622: use variable sector size for spi-nor
authorDaniel Golle <daniel@makrotopia.org>
Sun, 28 Aug 2022 15:05:30 +0000 (16:05 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 28 Aug 2022 15:11:09 +0000 (16:11 +0100)
Make use of minor sector size (4k) on supported SPI-NOR flash chips.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/mt7622/config-5.15

index b08b01ec40850626d39177978fbe2213f28826e3..978994abbc9ee19dd239ad7325f6e14bcf90475d 100644 (file)
@@ -255,6 +255,7 @@ CONFIG_MTD_PARSER_TRX=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_MTD_SPI_NAND=y
 CONFIG_MTD_SPI_NOR=y
+CONFIG_MTD_SPI_NOR_USE_VARIABLE_ERASE=y
 CONFIG_MTD_SPLIT_FIRMWARE=y
 CONFIG_MTD_SPLIT_FIT_FW=y
 CONFIG_MTD_UBI=y