[U-Boot] [PATCH 06/21] sandbox: Zero the ram buffer on startup

sjg at google.com sjg at google.com
Wed Dec 5 23:10:58 UTC 2018


At present the RAM buffer is not inited unless it is read from a file,
likely produced by an earlier phase of U-Boot. This causes valgrind
warnings whenever the RAM buffer is used. Correct this by initing it if
needed.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/sandbox/cpu/start.c         | 7 +++++++
 arch/sandbox/include/asm/state.h | 1 +
 2 files changed, 8 insertions(+)

Applied to u-boot-dm/master, thanks!


More information about the U-Boot mailing list