diff mbox series

[18/45] sandbox: Drop message about writing sandbox state

Message ID 20220925150248.2524421-19-sjg@chromium.org
State Superseded
Delegated to: Tom Rini
Headers show
Series vbe: Implement the full firmware flow | expand

Commit Message

Simon Glass Sept. 25, 2022, 3:02 p.m. UTC
This happens every time sandbox moves to the next phase so is not very
interesting. Display the message only when debugging.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 arch/sandbox/cpu/state.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Heinrich Schuchardt Sept. 26, 2022, 6:31 a.m. UTC | #1
On 9/25/22 17:02, Simon Glass wrote:
> This happens every time sandbox moves to the next phase so is not very
> interesting. Display the message only when debugging.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>

Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

> ---
>
>   arch/sandbox/cpu/state.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/sandbox/cpu/state.c b/arch/sandbox/cpu/state.c
> index fcc4a337e59..a681e472ab6 100644
> --- a/arch/sandbox/cpu/state.c
> +++ b/arch/sandbox/cpu/state.c
> @@ -470,7 +470,7 @@ int state_uninit(void)
>   	int err;
>
>   	if (state->write_ram_buf || state->write_state)
> -		log_info("Writing sandbox state\n");
> +		log_debug("Writing sandbox state\n");
>   	state = &main_state;
>
>   	/* Finish the bloblist, so that it is correct before writing memory */
diff mbox series

Patch

diff --git a/arch/sandbox/cpu/state.c b/arch/sandbox/cpu/state.c
index fcc4a337e59..a681e472ab6 100644
--- a/arch/sandbox/cpu/state.c
+++ b/arch/sandbox/cpu/state.c
@@ -470,7 +470,7 @@  int state_uninit(void)
 	int err;
 
 	if (state->write_ram_buf || state->write_state)
-		log_info("Writing sandbox state\n");
+		log_debug("Writing sandbox state\n");
 	state = &main_state;
 
 	/* Finish the bloblist, so that it is correct before writing memory */