use MTD_SPI_NOR_USE_4K_SECTORS only on MIPS

This commit is contained in:
Daniel Barlow 2023-10-07 22:41:15 +01:00
parent b01840fa7f
commit 4df248323c

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