diff --git a/modules/flashimage.nix b/modules/flashimage.nix index 2f68e2e..a27d499 100644 --- a/modules/flashimage.nix +++ b/modules/flashimage.nix @@ -38,6 +38,7 @@ in { kernel = { config = { 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 MTD_SPI_NOR_USE_4K_SECTORS = "n"; };