Hi Ilias,

On 2026-06-04T07:37:05, Ilias Apalodimas <[email protected]> wrote:
> rpi: Add a local get_effective_memsize()
>
> We are about to change the place we call dram_init_banksize().
> The goal is to have all the information we need to pick a proper
> relocation address in gd->dram[].
>
> However, the RPI boards, and specifically the tested rpi4, seems
> to hang if we relocate anywhere above the address returned from
> bcm2835_mbox_call_prop().
> So store that address and return it on get_effective_memsize()
> which is used to calculate ram_top.
>
> Signed-off-by: Ilias Apalodimas <[email protected]>
>
> board/raspberrypi/rpi/rpi.c | 8 ++++++++
>  1 file changed, 8 insertions(+)

Reviewed-by: Simon Glass <[email protected]>
Tested-by: Simon Glass <[email protected]>   # rpi, rpi4

Regards,
Simon

Reply via email to