mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
initrd/bin/flash.sh: Remove -s vestiges
The -s mode was removed, remove it from usage. Remove the test to skip checking for board flashrom options with -s mode. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
This commit is contained in:
parent
19610748d3
commit
e0234485f7
@ -14,7 +14,7 @@ TRACE "Under /bin/flash.sh"
|
||||
|
||||
case "$CONFIG_FLASHROM_OPTIONS" in
|
||||
-* )
|
||||
[ "$1" != "-s" ] && echo "Board $CONFIG_BOARD detected, continuing..."
|
||||
echo "Board $CONFIG_BOARD detected, continuing..."
|
||||
;;
|
||||
* )
|
||||
die "ERROR: No board has been configured!\n\nEach board requires specific flashrom options and it's unsafe to flash without them.\n\nAborting."
|
||||
@ -170,7 +170,7 @@ else
|
||||
fi
|
||||
|
||||
if [ ! -e "$ROM" ]; then
|
||||
die "Usage: $0 [-c|-r|-s] <path/to/image.(rom|tgz)>"
|
||||
die "Usage: $0 [-c|-r] <path/to/image.(rom|tgz)>"
|
||||
fi
|
||||
|
||||
if [ "$READ" -eq 0 ] && [ "${ROM##*.}" = tgz ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user