liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 4df248323c8267bb11c634422b44b0df0185fd94
parent b01840fa7f3a65df58c4a6479f925a53e845e07a
Author: Daniel Barlow <dan@telent.net>
Date:   Sat,  7 Oct 2023 22:41:15 +0100

use MTD_SPI_NOR_USE_4K_SECTORS only on MIPS

Diffstat:
Mmodules/flashimage.nix | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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"; };