projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a6409b
)
sandbox: Drop the printf() in setup_ram_buf()
author
Simon Glass
<
[email protected]
>
Mon, 8 Apr 2019 19:20:43 +0000
(13:20 -0600)
committer
Simon Glass
<
[email protected]
>
Wed, 24 Apr 2019 02:26:43 +0000
(20:26 -0600)
This was really intended for debugging. Drop it.
Signed-off-by: Simon Glass <
[email protected]
>
arch/sandbox/cpu/start.c
patch
|
blob
|
history
diff --git
a/arch/sandbox/cpu/start.c
b/arch/sandbox/cpu/start.c
index e22d65f6d9e59a5c27cb15ee682dcf6666a9170f..82828f0c1d45f5dcbb7fa7e28c6656e468189a3b 100644
(file)
--- 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;