[PATCH] dm: core: Provide fallbacks for ofnode_conf_read_...

Simon Glass sjg at chromium.org
Tue Jun 28 15:38:17 CEST 2022


On 3/28/22 6:14 PM, Sean Anderson wrote:
> Because fdt_get_config_str et al. were moved/renamed to
> ofnode_conf_read_str, they now depend on CONFIG_DM as well as
> CONFIG_OF_CONTROL. Add some fallback implementations, preventing a
> linker error when CONFIG_SPL_OF_CONTROL and CONFIG_SPL_ENV_IS_IN_MMC are
> enabled and CONFIG_SPL_DM is disabled.
>
> Fixes: 7de8bd03c3 ("treewide: fdt: Move fdt_get_config_... to ofnode_conf_read...")
> Signed-off-by: Sean Anderson <sean.anderson at seco.com>
> ---
>
>  include/dm/ofnode.h | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>
Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list