projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b210661
)
sandbox: Show a message when writing out the ram buffer
author
Simon Glass
<sjg@chromium.org>
Mon, 28 Feb 2022 22:13:45 +0000
(15:13 -0700)
committer
Simon Glass
<sjg@chromium.org>
Sat, 19 Mar 2022 01:24:24 +0000
(19:24 -0600)
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>
arch/sandbox/cpu/state.c
patch
|
blob
|
history
diff --git
a/arch/sandbox/cpu/state.c
b/arch/sandbox/cpu/state.c
index
ce904b1
..
e0d0112
100644
(file)
--- 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 */