summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-16 12:42:57 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-16 12:42:57 +0100
commitd3e78864505af1834605234a3aa38d70c169d553 (patch)
tree6428c6b82a05743cdd479a99bf51bc448d38112d /script
parentef411c596a8062956c55ddaed0d193775d318fe9 (diff)
roms: remove unnecessary check
uboot_config is later only used if payload_uboot is set Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/roms3
1 files changed, 1 insertions, 2 deletions
diff --git a/script/roms b/script/roms
index ff5bec0c..99f53e00 100755
--- a/script/roms
+++ b/script/roms
@@ -132,8 +132,7 @@ configure_target()
[ "$payload_uboot" != "n" ] && [ "$payload_uboot" != "y" ] && \
payload_uboot="n"
- [ "$payload_uboot" = "y" ] && [ -z "$uboot_config" ] && \
- uboot_config="default"
+ [ -n "$uboot_config" ] || uboot_config="default"
[ "$xbmk_release" = "y" ] && [ "$release" = "n" ] && return 1
[ "$board" = "$tree" ] && return 1; return 0