From cd6f2f451903559627f29c563887624f3f386770 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Tue, 7 Jul 2026 14:16:23 +0200 Subject: 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 Reviewed-by: Ilias Apalodimas Signed-off-by: Ilias Apalodimas --- lib/fwu_updates/fwu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fwu_updates/fwu.c b/lib/fwu_updates/fwu.c index 2b11e5da061..e9bb1b4fc65 100644 --- a/lib/fwu_updates/fwu.c +++ b/lib/fwu_updates/fwu.c @@ -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; } -- cgit v1.3.1