From: Simon Glass Date: Mon, 8 Apr 2019 13:20:43 -0600 Subject: [U-Boot] [PATCH v2 03/13] sandbox: Drop the printf() in setup_ram_buf() In-Reply-To: <20190408192053.236725-1-sjg@chromium.org> References: <20190408192053.236725-1-sjg@chromium.org> Message-ID: <20190408192053.236725-4-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This was really intended for debugging. Drop it. Signed-off-by: Simon Glass --- 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