disable 4k flash erase blocks everywhere
This commit is contained in:
parent
74f4e0a2f3
commit
3a2f074199
3 changed files with 2 additions and 2 deletions
|
@ -171,7 +171,6 @@
|
||||||
AR8216_PHY = "y"; # eth1 is behind a switch
|
AR8216_PHY = "y"; # eth1 is behind a switch
|
||||||
|
|
||||||
MTD_SPI_NOR = "y";
|
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_ATH79 = "y"; # these are copied from OpenWrt.
|
||||||
SPI_MASTER= "y"; # At least one of them is necessary
|
SPI_MASTER= "y"; # At least one of them is necessary
|
||||||
|
|
|
@ -142,7 +142,6 @@
|
||||||
MTD = "y";
|
MTD = "y";
|
||||||
MTD_CMDLINE_PARTS = "y";
|
MTD_CMDLINE_PARTS = "y";
|
||||||
MTD_BLOCK = "y"; # fix undefined ref to register_mtd_blktrans_devs
|
MTD_BLOCK = "y"; # fix undefined ref to register_mtd_blktrans_devs
|
||||||
MTD_SPI_NOR_USE_4K_SECTORS = "n";
|
|
||||||
|
|
||||||
CMDLINE_PARTITION = "y";
|
CMDLINE_PARTITION = "y";
|
||||||
EARLY_PRINTK = "y";
|
EARLY_PRINTK = "y";
|
||||||
|
|
|
@ -38,6 +38,8 @@ in {
|
||||||
kernel = {
|
kernel = {
|
||||||
config = {
|
config = {
|
||||||
MTD_SPLIT_UIMAGE_FW = "y";
|
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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue