firehose: do not display 'no boot partition found' message

It is a valid use case to flash a single partition (such as CDT) with
QDL. In such a case when we are not flashing the entire image, we
effectively are not flashing any 'boot' partition (SBL, XBL, ...), and
we don't need to send the setbootablestoragedrive command to the
programmer. Currently we display the 'no boot partition found' message
which is confusing for users, as it looks like an error message even
though it's not. Let's turn this message into a debug log message
instead.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@oss.qualcomm.com>
This commit is contained in:
Nicolas Dechesne
2025-01-07 09:52:59 +01:00
committed by Bjorn Andersson
parent 8c32a74086
commit 7b5d5da48d

View File

@@ -801,7 +801,7 @@ int firehose_run(struct qdl_device *qdl, const char *incdir, const char *storage
bootable = program_find_bootable_partition(&multiple);
if (bootable < 0) {
ux_info("no boot partition found\n");
ux_debug("no boot partition found\n");
} else {
if (multiple) {
ux_err("WARNING: Multiple candidates for primary bootloader found, using partition %d\n",