summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSinthu Raja <sinthu.raja@ti.com>2023-10-05 17:12:23 +0530
committerUdit Kumar <u-kumar1@ti.com>2023-10-07 13:55:42 +0530
commit1eaf714ce2218f53338cadae1cd59f9dc306d645 (patch)
treebf176692f5ac30e1c4f8f0796c36e865ee0439fd /include
parentd43c636437d116c4dbe74c9a1ae8e9373941169f (diff)
include: configs: Override get_fit_config to get FIT config for AM57x
The get_fit_config is introduced [1] in ti_armv7_common.h to mangle the fdtfile name when used to select a config node from the OE made FIT image. The ti_armv7_common.h is common for both K3 and AM57xx platforms. AM57xx platforms' fdtfile name does not have '/' so the setexpr command fails and boot hangs. Override the get_fit_config in AM57x specific config header to get the FIT config name. [1]:472b8e71be84667201d0fb28649c3c6649ac49f8 Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ti_omap5_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h
index 74a39c4078..9dc331bd79 100644
--- a/include/configs/ti_omap5_common.h
+++ b/include/configs/ti_omap5_common.h
@@ -251,6 +251,7 @@
DEFAULT_LINUX_BOOT_ENV \
DEFAULT_MMC_TI_ARGS \
DEFAULT_FIT_TI_ARGS \
+ "get_fit_config=setenv name_fit_config conf-${fdtfile}\0" \
DEFAULT_COMMON_BOOT_TI_ARGS \
DEFAULT_FDT_TI_ARGS \
DFUARGS \