mirror of
https://github.com/linux-msm/qdl.git
synced 2026-02-25 13:12:25 -08:00
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:
committed by
Bjorn Andersson
parent
8c32a74086
commit
7b5d5da48d
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user