From d50fd7f91168576918d1b4a6394bf57767ed7cc4 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Sun, 8 Jun 2025 09:54:26 +0200 Subject: [PATCH] sandbox: fix dram_init() dram_init() must not overwrite the value of gd->ram_buf set by setup_ram_buf() for main U-Boot or board_init_f() for SPL. Signed-off-by: Heinrich Schuchardt Acked-by: Ilias Apalodimas --- board/sandbox/sandbox.c | 1 - 1 file changed, 1 deletion(-) diff --git a/board/sandbox/sandbox.c b/board/sandbox/sandbox.c index d97945e58fc..43f4edc39e9 100644 --- a/board/sandbox/sandbox.c +++ b/board/sandbox/sandbox.c @@ -101,7 +101,6 @@ enum env_location env_get_location(enum env_operation op, int prio) int dram_init(void) { - gd->ram_size = CFG_SYS_SDRAM_SIZE; return 0; } -- 2.47.2