diff options
| author | Simon Glass <[email protected]> | 2025-05-02 08:46:52 -0600 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2025-05-30 09:49:32 +0100 |
| commit | 8d7ae52d7735ffecf34fa8b2657ee2fcfaac51b6 (patch) | |
| tree | bf18ccb08e433a76d663f7d0e23c9aade5ab9ac9 /cmd/bootflow.c | |
| parent | 5bca4798971a1ea32c43994e35f63f1964b2ddf6 (diff) | |
expo: Drop the render from expo_poll()
Within tests it is useful to be able to control rendering of the expo.
Drop the automatic call to expo_render() within expo_poll() and adjust
its callers to handle this instead.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'cmd/bootflow.c')
| -rw-r--r-- | cmd/bootflow.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/bootflow.c b/cmd/bootflow.c index efac27a5d77..55643a6876f 100644 --- a/cmd/bootflow.c +++ b/cmd/bootflow.c @@ -116,6 +116,9 @@ __maybe_unused static int bootflow_handle_menu(struct bootstd_priv *std, return log_msg_ret("bhs", ret); do { + ret = expo_render(exp); + if (ret) + return log_msg_ret("bhr", ret); ret = bootflow_menu_poll(exp, &bflow); } while (ret == -EAGAIN); |
