On 2026-03-31T08:01:10, Ilias Apalodimas <[email protected]> wrote: > fdtdec: Introduce fdtdec_setup_mem_ram_top() to determine end of topmost DRAM > bank > > Introduce function fdtdec_setup_mem_ram_top(), which determines the topmost > address in the last DRAM bank, to be assigned into gd->ram_top in order to > relocate U-Boot to the actual end of all DRAM. This makes use of iterator > function fdtdec_setup_mem_for_each_bank() introduced in previous commit. > > Reviewed-by: Ilias Apalodimas <[email protected]> > Signed-off-by: Ilias Apalodimas <[email protected]> > Signed-off-by: Marek Vasut <[email protected]> > Reviewed-by: Anshul Dalal <[email protected]> > > include/fdtdec.h | 16 ++++++++++++++++ > lib/fdtdec.c | 18 ++++++++++++++++++ > 2 files changed, 34 insertions(+)
Reviewed-by: Simon Glass <[email protected]>

