mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 12:46:26 +00:00
flash.sh: remove last references in code to flashrom, use more generic FLASH_OPTIONS instead, might cchange in the future.
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
parent
697b20ba97
commit
542e1b51b4
@ -1,7 +1,5 @@
|
||||
#!/bin/ash
|
||||
#
|
||||
# based off of flashrom-x230
|
||||
#
|
||||
# NOTE: This script is used on legacy-flash boards and runs with busybox ash,
|
||||
# not bash
|
||||
set -e -o pipefail
|
||||
@ -14,7 +12,7 @@ TRACE "Under /bin/flash.sh"
|
||||
|
||||
case "$CONFIG_FLASH_OPTIONS" in
|
||||
"" )
|
||||
die "ERROR: No flash options have been configured!\n\nEach board requires specific flashrom options and it's unsafe to flash without them.\n\nAborting."
|
||||
die "ERROR: No flash options have been configured!\n\nEach board requires specific CONFIG_FLASH_OPTIONS options configured. It's unsafe to flash without them.\n\nAborting."
|
||||
;;
|
||||
* )
|
||||
DEBUG "Flash options detected: $CONFIG_FLASH_OPTIONS"
|
||||
|
Loading…
Reference in New Issue
Block a user