On Sun, 8 Jun 2025 at 10:54, Heinrich Schuchardt
<heinrich.schucha...@canonical.com> wrote:
>
> 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.schucha...@canonical.com>

I am not an expert in sandbox, but this looks ok
Acked-by: Ilias Apalodimas <ilias.apalodi...@linaro.org>

> ---
> v2:
>         no change
> ---
>  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.48.1
>

Reply via email to