From fe03f791733962dc70b04e9dbc5262e037c21f42 Mon Sep 17 00:00:00 2001 From: Sebastian McMillan Date: Thu, 28 Mar 2019 16:22:16 -0500 Subject: [PATCH] One more thing: Add flash.sh definitions for X220 and T420. --- initrd/bin/flash.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/initrd/bin/flash.sh b/initrd/bin/flash.sh index e89c9a98c..7c2c49e90 100755 --- a/initrd/bin/flash.sh +++ b/initrd/bin/flash.sh @@ -13,11 +13,17 @@ case "$CONFIG_BOARD" in x230* ) FLASHROM_OPTIONS='--force --noverify-all --programmer internal --ifd --image bios' ;; + t420* ) + FLASHROM_OPTIONS='--force --noverify-all -p internal:laptop=force_I_want_a_brick --ifd --image bios' + ;; + x220* ) + FLASHROM_OPTIONS='--force --noverify-all -p internal:laptop=force_I_want_a_brick --ifd --image bios' + ;; "kgpe-d16" ) FLASHROM_OPTIONS='--force --noverify --programmer internal' ;; * ) - die "ERROR: No board has been configured!\n\nEach board requires specific flashrom options and it's unsafe to flash without them.\n\nAborting." + die "ERROR: No board has been configured!\nEach board requires specific flashrom options and it's unsafe to flash without them.\nAborting." ;; esac