diff options
| author | Michal Simek <[email protected]> | 2026-07-07 14:16:23 +0200 |
|---|---|---|
| committer | Ilias Apalodimas <[email protected]> | 2026-08-03 13:05:21 +0300 |
| commit | cd6f2f451903559627f29c563887624f3f386770 (patch) | |
| tree | 4e2ff328d0169e9425b04a45bfdfa24fac9f3a80 | |
| parent | baa64b2f892890f00a377eac4a3e685472bb56b5 (diff) | |
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 <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Signed-off-by: Ilias Apalodimas <[email protected]>
| -rw-r--r-- | lib/fwu_updates/fwu.c | 4 |
1 files 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; } |
