This was really intended for debugging. Drop it.

Signed-off-by: Simon Glass <[email protected]>
---

Changes in v2:
- Add a new patch to drop the printf() in setup_ram_buf()

 arch/sandbox/cpu/start.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c
index e22d65f6d9e..82828f0c1d4 100644
--- a/arch/sandbox/cpu/start.c
+++ b/arch/sandbox/cpu/start.c
@@ -303,10 +303,8 @@ int board_run_command(const char *cmdline)
 static void setup_ram_buf(struct sandbox_state *state)
 {
        /* Zero the RAM buffer if we didn't read it, to keep valgrind happy */
-       if (!state->ram_buf_read) {
+       if (!state->ram_buf_read)
                memset(state->ram_buf, '\0', state->ram_size);
-               printf("clear %p %x\n", state->ram_buf, state->ram_size);
-       }
 
        gd->arch.ram_buf = state->ram_buf;
        gd->ram_size = state->ram_size;
-- 
2.21.0.392.gf8f6787159e-goog

_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to