diff --git a/src/platform/common/arm64.nix b/src/platform/common/arm64.nix index 31ce911..2f34cf1 100644 --- a/src/platform/common/arm64.nix +++ b/src/platform/common/arm64.nix @@ -10,14 +10,14 @@ scripts = let flashromScript = moreFlags: '' set -euo pipefail - ${final.flashrom}/bin/flashrom -p linux_mtd --fmap ${moreFlags} + ${final.flashrom}/bin/flashrom -p linux_mtd ${moreFlags} ''; flashromWriteScript = moreFlags: flashromScript "-w ${final.coreboot}/coreboot.rom ${moreFlags}"; in prev.scripts // { flashrom = flashromScript "$@"; - flash-write-fallback = flashromWriteScript "-i FALLBACK"; - flash-write-normal = flashromWriteScript "-i NORMAL"; + flash-write-fallback = flashromWriteScript "--fmap -i FALLBACK"; + flash-write-normal = flashromWriteScript "--fmap -i NORMAL"; flash-write-all = flashromWriteScript ""; }; })];