[v2,2/4] fdtdec: Introduce fdtdec_setup_mem_ram_top() to determine end of topmost DRAM bank
Simon Glass
sjg at chromium.org
Wed Apr 1 21:19:27 CEST 2026
On 2026-03-31T08:01:10, Ilias Apalodimas <ilias.apalodimas at linaro.org> 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 <ilias.apalodimas at linaro.org>
> Signed-off-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
> Reviewed-by: Anshul Dalal <anshuld at ti.com>
>
> include/fdtdec.h | 16 ++++++++++++++++
> lib/fdtdec.c | 18 ++++++++++++++++++
> 2 files changed, 34 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list