diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2025-06-08 09:54:26 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-06-26 13:45:33 -0600 |
commit | d50fd7f91168576918d1b4a6394bf57767ed7cc4 (patch) | |
tree | 6b58af054e70c6bd8d022d93b81c5fe4415a92b9 /board/sandbox/sandbox.c | |
parent | ced883d92c0568cdb15b5b67106c29a4623b19d8 (diff) |
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>
Diffstat (limited to 'board/sandbox/sandbox.c')
-rw-r--r-- | board/sandbox/sandbox.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |