summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnurag Dutta <a-dutta@ti.com>2025-09-17 09:47:29 +0530
committerTom Rini <trini@konsulko.com>2025-09-17 07:48:52 -0600
commitf6d5bda0e32c3d645b9926f6965af8196843c62c (patch)
tree07d32e0af9aee3aa3ea3e5343b32d80157050b53
parentb82fa9d752b025d3b5305b5b07debe6808a5d027 (diff)
board: ti: am57xx: Remove "ti/omap/" from name_fit_config
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>
-rw-r--r--board/ti/am57xx/am57xx.env2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ti/am57xx/am57xx.env b/board/ti/am57xx/am57xx.env
index 7d029a3e859..a7cbbced099 100644
--- a/board/ti/am57xx/am57xx.env
+++ b/board/ti/am57xx/am57xx.env
@@ -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