mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-27 16:01:27 +00:00
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>
This commit is contained in:
parent
55e4505dd2
commit
e775fc676a
1 changed files with 2 additions and 0 deletions
|
@ -264,6 +264,7 @@ void board_preboot_os(void)
|
||||||
gpio_direction_output(IMX_GPIO_NR(6, 0), 0);
|
gpio_direction_output(IMX_GPIO_NR(6, 0), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if CONFIG_IS_ENABLED(OF_LIBFDT)
|
||||||
int ft_board_setup(void *blob, struct bd_info *bd)
|
int ft_board_setup(void *blob, struct bd_info *bd)
|
||||||
{
|
{
|
||||||
if (lvds_compat_string)
|
if (lvds_compat_string)
|
||||||
|
@ -272,6 +273,7 @@ int ft_board_setup(void *blob, struct bd_info *bd)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
struct display_info_t const displays[] = {
|
struct display_info_t const displays[] = {
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue