disable 4k flash erase blocks everywhere

hark-how-all-the-belkin-rings
Daniel Barlow 2023-09-27 22:10:17 +01:00
parent 74f4e0a2f3
commit 3a2f074199
3 changed files with 2 additions and 2 deletions

View File

@ -171,7 +171,6 @@
AR8216_PHY = "y"; # eth1 is behind a switch
MTD_SPI_NOR = "y";
MTD_SPI_NOR_USE_4K_SECTORS = "n"; # jffs2 needs min 8k erase block
SPI_ATH79 = "y"; # these are copied from OpenWrt.
SPI_MASTER= "y"; # At least one of them is necessary

View File

@ -142,7 +142,6 @@
MTD = "y";
MTD_CMDLINE_PARTS = "y";
MTD_BLOCK = "y"; # fix undefined ref to register_mtd_blktrans_devs
MTD_SPI_NOR_USE_4K_SECTORS = "n";
CMDLINE_PARTITION = "y";
EARLY_PRINTK = "y";

View File

@ -38,6 +38,8 @@ in {
kernel = {
config = {
MTD_SPLIT_UIMAGE_FW = "y";
# https://stackoverflow.com/questions/26466470/can-the-logical-erase-block-size-of-an-mtd-device-be-increased
MTD_SPI_NOR_USE_4K_SECTORS = "n";
};
};