inject.sh: simplified serprog check

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-05-11 00:52:47 +01:00
parent 9c27b7437c
commit 2bbf2ae80b
+1 -4
View File
@@ -75,10 +75,7 @@ check_release()
check_target() check_target()
{ {
if [ "$board" = "serprog_rp2040" ] || [ "$board" = "serprog_stm32" ] \ [ "$board" = "${board#serprog_}" ] || return 1
|| [ "$board" = "serprog_pico" ]; then
return 1
fi
boarddir="$cbcfgsdir/$board" boarddir="$cbcfgsdir/$board"
eval "`setcfg "$boarddir/target.cfg"`" eval "`setcfg "$boarddir/target.cfg"`"