summaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-04-08 13:20:43 -0600
committerSimon Glass <sjg@chromium.org>2019-04-23 20:26:43 -0600
commit5dbe794dc0b2cceb76c2042b6806a342e7c4ca7f (patch)
tree987a1a03624f3c710e720ab06e0d4d41c9bb5e16 /arch/sandbox
parent4a6409b74cc09b150f234ba3ab7d75ba6358270a (diff)
sandbox: Drop the printf() in setup_ram_buf()
This was really intended for debugging. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/cpu/start.c4
1 files changed, 1 insertions, 3 deletions
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;