forked from DGNum/liminix
use MTD_SPI_NOR_USE_4K_SECTORS only on MIPS
This commit is contained in:
parent
b01840fa7f
commit
4df248323c
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ in {
|
||||||
kernel = {
|
kernel = {
|
||||||
config = {
|
config = {
|
||||||
MTD_SPLIT_UIMAGE_FW = "y";
|
MTD_SPLIT_UIMAGE_FW = "y";
|
||||||
|
} // lib.optionalAttrs (pkgs.stdenv.isMips) {
|
||||||
# https://stackoverflow.com/questions/26466470/can-the-logical-erase-block-size-of-an-mtd-device-be-increased
|
# https://stackoverflow.com/questions/26466470/can-the-logical-erase-block-size-of-an-mtd-device-be-increased
|
||||||
MTD_SPI_NOR_USE_4K_SECTORS = "n";
|
MTD_SPI_NOR_USE_4K_SECTORS = "n";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue