include: configs: Override get_fit_config to get FIT config for AM57x
authorSinthu Raja <sinthu.raja@ti.com>
Tue, 11 Feb 2025 09:49:29 +0000 (15:19 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 21 Feb 2025 01:12:07 +0000 (19:12 -0600)
commited5754354b85ac82940370816c7ac677c52cc26b
tree7273f84cb67a12be3cdd87bed4c8015cc23ff9de
parentc33ccc87254c1efd2c445a04ed6dd3113641f99d
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 <sinthu.raja@ti.com>
Signed-off-by: Anurag Dutta <a-dutta@ti.com>
include/configs/ti_omap5_common.h