]> git.dujemihanovic.xyz Git - u-boot.git/commit
m53menlo: define ft_board_setup only if CONFIG_IS_ENABLED(OF_LIBFDT)
authorTroy Kisky <troykiskyboundary@gmail.com>
Mon, 13 Mar 2023 21:31:37 +0000 (14:31 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 10 May 2023 20:45:42 +0000 (16:45 -0400)
commite775fc676aafada90e6513c240b23cf06e11afc1
tree22c803c489cf6864a1a41ab0be4dadb2619c9eda
parent55e4505dd2cc3085174862711891122ef02741da
m53menlo: define ft_board_setup only if CONFIG_IS_ENABLED(OF_LIBFDT)

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>
Reviewed-by: Simon Glass <sjg@chromium.org>
board/menlo/m53menlo/m53menlo.c