summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-25 11:18:11 +0100
committerFelix Singer <felixsinger@posteo.net>2021-12-26 12:06:53 +0000
commiteb4edc3ef16a16652b6d5533672153915297cc49 (patch)
tree387e0a71c22a86dbef4a23e933007eca7c720962 /util
parentedb4f759ea9f018bc9f79070cdd426e22b9f8f18 (diff)
util/liveiso: Disable write protection of the intel-spi driver
The intel-spi driver maps the BIOS region of the flash as an mtd device at /dev/mtdX. Since this system is intended for development purposes, disable its write protection. Change-Id: Ib73d14eb4e7df6e29433b8dfbeb77dbab4a85f08 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60375 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'util')
-rw-r--r--util/liveiso/common.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/liveiso/common.nix b/util/liveiso/common.nix
index 2ed4af549a..d0b7ba6704 100644
--- a/util/liveiso/common.nix
+++ b/util/liveiso/common.nix
@@ -33,6 +33,7 @@
"console=ttyS0,115200"
"console=tty0"
"iomem=relaxed"
+ "intel-spi.writeable=1"
];
# pkgs.linuxPackages == lts
# pkgs.linuxPackages_latest == stable