mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-29 07:33:29 +08:00
sandbox: Drop the printf() in setup_ram_buf()
This was really intended for debugging. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
4a6409b74c
commit
5dbe794dc0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user