From: Heinrich Schuchardt Date: Sun, 8 Jun 2025 07:54:26 +0000 (+0200) Subject: sandbox: fix dram_init() X-Git-Tag: v2025.10-rc1~91^2~29^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d50fd7f91168576918d1b4a6394bf57767ed7cc4;p=pandora-u-boot.git 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 --- 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; }