]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
env: ti: k3_dfu: use Kconfig options for addresses
authorAnshul Dalal <anshuld@ti.com>
Mon, 18 May 2026 08:22:53 +0000 (13:52 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 29 May 2026 20:02:18 +0000 (14:02 -0600)
The load addresses for DFU download binaries were hardcoded for K3
devices which required redefinition of such env for boards that deviated
from the expected K3 memory map (such as AM6254atl EMV).

This patch replaces the hardcoded addresses with their corresponding
Kconfig options making the k3_dfu.env more general.

Signed-off-by: Anshul Dalal <anshuld@ti.com>
board/ti/am62x/am6254atl.env
include/env/ti/k3_dfu.env

index dabc77245d414daa295b2dfd735b6b2dbcd6849d..a9187c2b1aa945f6a01d318ea158086c2b38c913 100644 (file)
@@ -27,13 +27,6 @@ splashimage=0x82180000
 splashpos=m,m
 splashsource=sf
 
-dfu_alt_info_ram=
-#if CONFIG_ARM64
-       u-boot.img ram 0x82f80000 0x400000
-#else
-       tispl.bin ram 0x82000000 0x200000
-#endif
-
 #if CONFIG_BOOTMETH_ANDROID
 #include <env/ti/android.env>
 adtb_idx=0
index 0f82a8afb4208fc4a8187e70afc1de53c59fa593..1ae9ae6ae155b56d79e73f25f32cf9e658b91990 100644 (file)
@@ -26,8 +26,8 @@ dfu_alt_info_ospi=
 
 dfu_alt_info_ram=
 #if CONFIG_ARM64
-       u-boot.img ram 0x81000000 0x400000
+       u-boot.img ram CONFIG_SPL_LOAD_FIT_ADDRESS 0x400000
 #else
-       tispl.bin ram 0x80080000 0x200000
+       tispl.bin ram CONFIG_SPL_LOAD_FIT_ADDRESS 0x200000
 #endif