]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
board: ti: am57xx: Remove "ti/omap/" from name_fit_config
authorAnurag Dutta <a-dutta@ti.com>
Wed, 17 Sep 2025 04:17:29 +0000 (09:47 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 17 Sep 2025 13:48:52 +0000 (07:48 -0600)
Commit 649f4a7d3ca7 ("board: ti: am57xx: Set fdtfile from C code
instead of findfdt script") prepends "ti/omap/" to the actual name
of the fdtfile whereas fit image boot needs exact dtb name. So, remove
"ti/omap" from name_fit_config by substituting it with an empty string.

Fixes: 649f4a7d3ca7 ("board: ti: am57xx: Set fdtfile from C code instead of findfdt script")
Signed-off-by: Anurag Dutta <a-dutta@ti.com>
Reviewed-by: Udit Kumar <u-kumar1@ti.com>
board/ti/am57xx/am57xx.env

index 7d029a3e85958b2306615e6711e34d91aa6c6e97..a7cbbced099bb4f96662a980006550074c6f335b 100644 (file)
@@ -10,7 +10,7 @@ get_name_kern=
        else
                setenv bootfile zImage;
        fi
-get_fit_config=setenv name_fit_config ${fdtfile}
+get_fit_config=setexpr name_fit_config gsub "ti/omap/" "" ${fdtfile}
 console=ttyS2,115200n8
 fdtfile=undefined
 finduuid=part uuid mmc 0:2 uuid