[PATCH v2 5/6] common: Clean up setup_dest_addr()
Marek Vasut
marek.vasut at mailbox.org
Sun Apr 26 18:25:36 CEST 2026
On 4/16/26 7:59 AM, Ilias Apalodimas wrote:
> Right now the function does
> - Re-adjust the ram_size based on Kconfig options
> - Set ram_top
> - Set the relocation address
>
> It also does not set the ram_size in case ram_top grew
> from it's initial value. But ram_top and ram_size should
> always be changed together.
>
> So let's make things a bit cleaner and move the ram calculations
> in their own INITCALL
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Tested-by: Anshul Dalal <anshuld at ti.com>
> Signed-off-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
Reviewed-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
More information about the U-Boot
mailing list