diff options
author | Simon Glass | 2022-02-28 15:13:45 -0700 |
---|---|---|
committer | Simon Glass | 2022-03-18 19:24:24 -0600 |
commit | d02f99dd6716f6e55efe41ea2fa3cd60b03fa4af (patch) | |
tree | fc7b240f3fd3535916c9c5e9a1768d5a2aa2c336 | |
parent | b210661c8661ac843127a01fd0100ffceffb81d7 (diff) |
sandbox: Show a message when writing out the ram buffer
If state is not being written, but RAM is, we should still show a message,
so it is clear that this is happening.
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | arch/sandbox/cpu/state.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sandbox/cpu/state.c b/arch/sandbox/cpu/state.c index ce904b1740a..e0d01125bb5 100644 --- a/arch/sandbox/cpu/state.c +++ b/arch/sandbox/cpu/state.c @@ -421,7 +421,8 @@ int state_uninit(void) { int err; - log_info("Writing sandbox state\n"); + if (state->write_ram_buf || state->write_state) + log_info("Writing sandbox state\n"); state = &main_state; /* Finish the bloblist, so that it is correct before writing memory */ |