diff options
author | Sinthu Raja <sinthu.raja@ti.com> | 2023-10-05 17:12:23 +0530 |
---|---|---|
committer | Udit Kumar <u-kumar1@ti.com> | 2023-10-07 13:55:42 +0530 |
commit | 1eaf714ce2218f53338cadae1cd59f9dc306d645 (patch) | |
tree | bf176692f5ac30e1c4f8f0796c36e865ee0439fd /include | |
parent | d43c636437d116c4dbe74c9a1ae8e9373941169f (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h index 74a39c40785..9dc331bd792 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 \ |