Skip to content

Commit 7b5d5da

Browse files
ndechesneandersson
authored andcommitted
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>
1 parent 8c32a74 commit 7b5d5da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firehose.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ int firehose_run(struct qdl_device *qdl, const char *incdir, const char *storage
801801

802802
bootable = program_find_bootable_partition(&multiple);
803803
if (bootable < 0) {
804-
ux_info("no boot partition found\n");
804+
ux_debug("no boot partition found\n");
805805
} else {
806806
if (multiple) {
807807
ux_err("WARNING: Multiple candidates for primary bootloader found, using partition %d\n",

0 commit comments

Comments
 (0)