fwu: Make boottime check failures visible

On systems with FWU enabled but without the required DT changes the
boottime checks fail. The failures are only reported via log_debug()
which is compiled out by default, so the user has no idea what is going
on.

Use log_err() to make these failures visible.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
Michal Simek
2026-08-03 13:05:21 +03:00
committed by Ilias Apalodimas
parent baa64b2f89
commit cd6f2f4519
+2 -2
View File
@@ -759,7 +759,7 @@ static int fwu_boottime_checks(void)
ret = uclass_first_device_err(UCLASS_FWU_MDATA, &g_dev);
if (ret) {
log_debug("Cannot find fwu device\n");
log_err("Cannot find fwu device\n");
return ret;
}
@@ -771,7 +771,7 @@ static int fwu_boottime_checks(void)
ret = fwu_init();
if (ret) {
log_debug("fwu_init() failed\n");
log_err("fwu_init() failed\n");
return ret;
}