summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnrico Mioso2024-07-02 16:09:08 +0000
committerRobert Marko2024-08-06 19:46:25 +0000
commit2d712021cd776eabe03052dafbb5774c77df9fcf (patch)
treefbc6dc764b70141fdb8731ee269c137a8111da75
parent2aa760acd688a22fa6a7c3c6a153ddd1099e92e4 (diff)
downloadopenwrt-2d712021cd776eabe03052dafbb5774c77df9fcf.tar.gz
mvebu: enable CONFIG_MTD_SPI_NOR_USE_VARIABLE_ERASE=y config option
Enable the CONFIG_MTD_SPI_NOR_USE_VARIABLE_ERASE kernel option to allow for U-Boot environment writing. This might be hiding a problem somewhere else, since the w25q128fw chip supports 32K erases, still this change makes it much easier to switch the GL-MV1000 boot media without an UART cable connection. Thanks to @robimarko and @hacks for the precious hints and suggesting a better approach. Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com>
-rw-r--r--target/linux/mvebu/config-6.61
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/mvebu/config-6.6 b/target/linux/mvebu/config-6.6
index 88e5fff4d9..a4572d8a89 100644
--- a/target/linux/mvebu/config-6.6
+++ b/target/linux/mvebu/config-6.6
@@ -270,6 +270,7 @@ CONFIG_MTD_NAND_ECC_SW_HAMMING=y
CONFIG_MTD_NAND_MARVELL=y
CONFIG_MTD_RAW_NAND=y
CONFIG_MTD_SPI_NOR=y
+CONFIG_MTD_SPI_NOR_USE_VARIABLE_ERASE=y
CONFIG_MTD_SPLIT_FIRMWARE=y
CONFIG_MTD_UBI=y
CONFIG_MTD_UBI_BEB_LIMIT=20