Skip to content

Commit

Permalink
One more thing: Add flash.sh definitions for X220 and T420.
Browse files Browse the repository at this point in the history
  • Loading branch information
snmcmillan committed Mar 28, 2019
1 parent 04b59d2 commit fe03f79
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion initrd/bin/flash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fe03f79

Please sign in to comment.