use MTD_SPI_NOR_USE_4K_SECTORS only on MIPS

hark-how-all-the-belkin-rings
Daniel Barlow 2023-10-07 22:41:15 +01:00
parent b01840fa7f
commit 4df248323c
1 changed files with 1 additions and 0 deletions

View File

@ -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";
};