[PATCH] amd: versal2: Align distro boot variables with default memory map
Michal Simek
michal.simek at amd.com
Mon Jan 12 10:31:57 CET 2026
On 1/6/26 08:45, Michal Simek wrote:
> By default Versal Gen 2 is using memory map where TF-A is placed to DDR and
> there is also some space allocated for OP-TEE that's why move default
> variable setting out of this location to avoid using it when distro boot is
> used for booting.
>
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
>
> include/configs/amd_versal2.h | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/include/configs/amd_versal2.h b/include/configs/amd_versal2.h
> index f1c432aa391a..05ddd4eabe16 100644
> --- a/include/configs/amd_versal2.h
> +++ b/include/configs/amd_versal2.h
> @@ -49,12 +49,12 @@
> #define ENV_MEM_LAYOUT_SETTINGS \
> "fdt_addr_r=0x40000000\0" \
> "fdt_size_r=0x400000\0" \
> - "pxefile_addr_r=0x10000000\0" \
> - "kernel_addr_r=0x18000000\0" \
> + "pxefile_addr_r=0x70000000\0" \
> + "kernel_addr_r=0x48000000\0" \
> "kernel_size_r=0x10000000\0" \
> - "kernel_comp_addr_r=0x30000000\0" \
> + "kernel_comp_addr_r=0x50000000\0" \
> "kernel_comp_size=0x3C00000\0" \
> - "ramdisk_addr_r=0x02100000\0" \
> + "ramdisk_addr_r=0x60000000\0" \
> "script_size_f=0x80000\0"
>
> #if defined(CONFIG_DISTRO_DEFAULTS)
Applied.
M
More information about the U-Boot
mailing list