[PATCH v1 15/24] m53menlo: define ft_board_setup only if CONFIG_IS_ENABLED(OF_LIBFDT)

Simon Glass sjg at chromium.org
Wed Feb 22 22:20:01 CET 2023


On Tue, 21 Feb 2023 at 18:39, Troy Kisky <troykiskyboundary at gmail.com> wrote:
>
> The function ft_board_setup calls do_fixup_by_path_string
> which is only available on CONFIG_IS_ENABLED(OF_LIBFDT).
> This prepares for the conversion.
>
> ft_board_setup is only called from image-fdt which is linked by
> obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += image-fdt.o
>
> Signed-off-by: Troy Kisky <troykiskyboundary at gmail.com>
> ---
>
>  board/menlo/m53menlo/m53menlo.c | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>\


More information about the U-Boot mailing list