diff options
| author | Sinthu Raja <[email protected]> | 2025-02-11 15:19:29 +0530 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-02-20 19:12:07 -0600 |
| commit | ed5754354b85ac82940370816c7ac677c52cc26b (patch) | |
| tree | 7273f84cb67a12be3cdd87bed4c8015cc23ff9de /include | |
| parent | c33ccc87254c1efd2c445a04ed6dd3113641f99d (diff) | |
include: configs: Override get_fit_config to get FIT config for AM57x
Kernel commit 837833a724b7 ("environment: ti: Add get_fit_config command
to get FIT config string") introduced "get_fit_config" in ti_armv7_common.h
to mangle the fdtfile name when used to select a config node from the OE
made FIT image. However, the ti_armv7_common.h is common for both K3 and
AM57xx platforms. AM57xx platforms' fdtfile name does not have '/' and
"conf-" prefix so the setexpr command fails and boot hangs.
Override the get_fit_config in AM57x specific config header to get the
correct FIT config name.
Signed-off-by: Sinthu Raja <[email protected]>
Signed-off-by: Anurag Dutta <[email protected]>
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 26b6c1cd188..d315a52f36f 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 ${fdtfile}\0" \ DEFAULT_COMMON_BOOT_TI_ARGS \ DEFAULT_FDT_TI_ARGS \ DFUARGS \ |
