summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-04-17 04:22:25 +0100
committerLeah Rowe <leah@libreboot.org>2025-04-17 04:22:25 +0100
commitb2255425ebaa551c6c16a2f4d7682b4bd0be8996 (patch)
treec74ca606ad87a6b204b7c44cb5caee9b6ecbd2f9
parent39640d76a75098e7acf1cf2e3616978a5b0978f1 (diff)
rom.sh: remove unnecessary check
the cbfs function will call cbfstool, which will perform the same check, and the same error condition would cause the same exit behaviour in lbmk. the error message would also provide output that is just as useful for debugging. Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--include/rom.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/rom.sh b/include/rom.sh
index 0f6fafbf..45ca5fd8 100644
--- a/include/rom.sh
+++ b/include/rom.sh
@@ -259,7 +259,6 @@ add_uboot()
[ "$payload_uboot_amd64" = "y" ] && \
ubootelf="$ubdir/u-boot-x86-with-spl.bin" # EFI-compatible
- [ -f "$ubootelf" ] || $err "cb/$ubtarget: Can't find u-boot"
cbfs "$tmprom" "$ubootelf" "$ubpath" $ubcbfsargs
[ "$payload_seabios" = "y" ] || cprom; :
}