mirror of
https://xff.cz/git/u-boot/
synced 2025-09-06 19:22:11 +02: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:
@@ -303,10 +303,8 @@ int board_run_command(const char *cmdline)
|
|||||||
static void setup_ram_buf(struct sandbox_state *state)
|
static void setup_ram_buf(struct sandbox_state *state)
|
||||||
{
|
{
|
||||||
/* Zero the RAM buffer if we didn't read it, to keep valgrind happy */
|
/* 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);
|
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->arch.ram_buf = state->ram_buf;
|
||||||
gd->ram_size = state->ram_size;
|
gd->ram_size = state->ram_size;
|
||||||
|
Reference in New Issue
Block a user