sandbox: fix dram_init()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 8 Jun 2025 07:54:26 +0000 (09:54 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 26 Jun 2025 19:45:33 +0000 (13:45 -0600)
commitd50fd7f91168576918d1b4a6394bf57767ed7cc4
tree6b58af054e70c6bd8d022d93b81c5fe4415a92b9
parentced883d92c0568cdb15b5b67106c29a4623b19d8
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 <heinrich.schuchardt@canonical.com>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
board/sandbox/sandbox.c