diff options
| author | Heinrich Schuchardt <[email protected]> | 2025-06-08 09:54:26 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-06-26 13:45:33 -0600 |
| commit | d50fd7f91168576918d1b4a6394bf57767ed7cc4 (patch) | |
| tree | 6b58af054e70c6bd8d022d93b81c5fe4415a92b9 | |
| 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 <[email protected]>
Acked-by: Ilias Apalodimas <[email protected]>
| -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; } |
