[PATCH] amd: versal2: Align distro boot variables with default memory map

Michal Simek michal.simek at amd.com
Tue Jan 6 08:45:39 CET 2026


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)
-- 
2.43.0

base-commit: e9c8a3d3b3dd1f34c0fab409c7d4d2119db81414
branch: debian-sent3


More information about the U-Boot mailing list