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

Simon Glass
2023-02-22T21:23:17Z

On Tue, 21 Feb 2023 at 18:39, Troy Kisky <troykiskyboundary@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@gmail.com>
> ---
>
> board/menlo/m53menlo/m53menlo.c | 2 ++
> 1 file changed, 2 insertions(+)

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