Skip to content

Commit a8e3f66

Browse files
ndechesneandersson
authored andcommitted
firehose: change error message to info for multiple boot partition
On some platforms, we support Boot LUN redundancy, with the boot partitions duplicated on more than 1 LUN. Only 1 LUN can be boot active at any time, but the platform can switch on reboot in case of corruption. As such, when flashing a full system, we end up flashing boot partition on several LUN, and the "first" LUN with SBL or XBL will be used as the initial/primary boot device for the setbootablestoragedrive command. Up until this commit we displayed an error message in this situation, but let's turn that into an ux_info() log instead, since it's not an error. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@oss.qualcomm.com>
1 parent 7b5d5da commit a8e3f66

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
@@ -804,7 +804,7 @@ int firehose_run(struct qdl_device *qdl, const char *incdir, const char *storage
804804
ux_debug("no boot partition found\n");
805805
} else {
806806
if (multiple) {
807-
ux_err("WARNING: Multiple candidates for primary bootloader found, using partition %d\n",
807+
ux_info("Multiple candidates for primary bootloader found, using partition %d\n",
808808
bootable);
809809
}
810810
firehose_set_bootable(qdl, bootable);

0 commit comments

Comments
 (0)