From 542e1b51b450bc285a2b27b8d87d83f838777b23 Mon Sep 17 00:00:00 2001 From: Thierry Laurion Date: Tue, 10 Sep 2024 21:12:56 -0400 Subject: [PATCH] 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 --- initrd/bin/flash.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/initrd/bin/flash.sh b/initrd/bin/flash.sh index 7c5a853d..cd5b9a6e 100755 --- a/initrd/bin/flash.sh +++ b/initrd/bin/flash.sh @@ -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"