diff options
| author | Tom Rini <trini@konsulko.com> | 2023-08-31 12:23:36 -0400 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2023-08-31 12:23:36 -0400 |
| commit | b81a024e4a37097d3dcffccb225850f8f6dc8277 (patch) | |
| tree | dcfd69d6c2e7c25003767a28841f1effe7404048 /lib | |
| parent | c37be6a39a338187cfb140a6a1a8d1f9550c909d (diff) | |
| parent | 36b900e8bd57fec7b4c200a368883e1e59e4f27f (diff) | |
Merge branch '2023-08-30-assorted-code-improvements' into next
- pcie-bcmstb improvements, nvmxip improvements, fix a corner case in
the serial uclass, send error messages to stderr in host tools, fwu
library CI state fixup, turn some setexpr diagnostic messages to debug
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/fwu_updates/fwu.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/fwu_updates/fwu.c b/lib/fwu_updates/fwu.c index 4d0c8b84b9d..22bdc78df59 100644 --- a/lib/fwu_updates/fwu.c +++ b/lib/fwu_updates/fwu.c @@ -623,18 +623,18 @@ static int fwu_boottime_checks(void *ctx, struct event *event) int ret; u32 boot_idx, active_idx; - /* Don't have boot time checks on sandbox */ - if (IS_ENABLED(CONFIG_SANDBOX)) { - boottime_check = 1; - return 0; - } - ret = uclass_first_device_err(UCLASS_FWU_MDATA, &g_dev); if (ret) { log_debug("Cannot find fwu device\n"); return ret; } + /* Don't have boot time checks on sandbox */ + if (IS_ENABLED(CONFIG_SANDBOX)) { + boottime_check = 1; + return 0; + } + ret = fwu_get_mdata(NULL); if (ret) { log_debug("Unable to read meta-data\n"); |
