summaryrefslogtreecommitdiff
path: root/script/roms
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-18 22:17:12 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-18 22:17:12 +0100
commit998f30ad4d58d176429e47feafbbf6b709c27f1d (patch)
tree22e64a4f4ccb89d41b009fa71fb6e3018fbb3033 /script/roms
parent21a7efaa95898f71e3de0850aae294309daac31d (diff)
build/roms: simplify serprog list command
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/roms')
-rwxr-xr-xscript/roms8
1 files changed, 1 insertions, 7 deletions
diff --git a/script/roms b/script/roms
index d969d86e..292193e9 100755
--- a/script/roms
+++ b/script/roms
@@ -87,7 +87,7 @@ handle_serprog()
x_ mkdir -p "bin/serprog_${1}"
if [ $# -gt 1 ] && [ "${2}" = "list" ]; then
- print_serprog_boards ${serprog_boards_dir}
+ list_serprog_boards ${serprog_boards_dir}
return 0
elif [ $# -gt 1 ]; then
build_${1}_rom "${2}"
@@ -125,12 +125,6 @@ build_stm32_rom()
printf "output to bin/serprog_stm32/serprog_%s.hex\n" "$board"
}
-print_serprog_boards()
-{
- printf "Available boards:\n"
- list_serprog_boards "${1}"
-}
-
list_serprog_boards()
{
basename -a -s .h "${1}/"*.h || $err "list_boards $1: can't list boards"