bootloader: Fix red on hosted bootloaders

Fixes: 888ce7cae8
Change-Id: I802779cf158634d5b3b547d74999798cb56d2882
This commit is contained in:
Solomon Peachy 2025-04-17 08:31:04 -04:00
parent 93b1611474
commit 9e79ebf78d

View file

@ -115,14 +115,16 @@ void error(int errortype, int error, bool shutdown)
break;
case EDISK: {
struct partinfo pinfo;
printf("No partition found");
#if !(CONFIG_PLATFORM & PLATFORM_HOSTED)
for (int i = 0 ; i < NUM_VOLUMES ; i++) {
struct partinfo pinfo;
disk_partinfo(i, &pinfo);
if (pinfo.type)
printf("P%d T%02x S%08lx",
i, pinfo.type, pinfo.size);
}
#endif
break;
}
case EBOOTFILE: