From: Simon Glass Date: Mon, 8 Apr 2019 19:20:43 +0000 (-0600) Subject: sandbox: Drop the printf() in setup_ram_buf() X-Git-Tag: v2019.07-rc1~7^2~14 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5dbe794dc0b2cceb76c2042b6806a342e7c4ca7f;p=oweals%2Fu-boot.git sandbox: Drop the printf() in setup_ram_buf() This was really intended for debugging. Drop it. Signed-off-by: Simon Glass --- diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c index e22d65f6d9..82828f0c1d 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;