]> git.sur5r.net Git - u-boot/commitdiff
common/Makefile: Compile fdt_support is enabled in SPL
authorStefan Roese <sr@denx.de>
Thu, 26 Nov 2015 12:38:15 +0000 (13:38 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 5 Dec 2015 23:22:27 +0000 (18:22 -0500)
When CONFIG_SPL_OF_TRANSLATE is enabled fdt_support.c needs to get
compiled. Otherwise fdt_translate_address() is missing which is needed
in dev_get_addr().

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
common/Makefile

index d8dc892f721a842281b733274a42f027700bbd96..2a1d9f8331894b11d0c4797b216b8621ac869ccb 100644 (file)
@@ -227,6 +227,7 @@ ifdef CONFIG_SPL_BUILD
 obj-$(CONFIG_ENV_IS_IN_FLASH) += env_flash.o
 obj-$(CONFIG_SPL_YMODEM_SUPPORT) += xyzModem.o
 obj-$(CONFIG_SPL_NET_SUPPORT) += miiphyutil.o
+obj-$(CONFIG_SPL_OF_TRANSLATE) += fdt_support.o
 ifdef CONFIG_SPL_USB_HOST_SUPPORT
 obj-$(CONFIG_SPL_USB_SUPPORT) += usb.o usb_hub.o
 obj-$(CONFIG_USB_STORAGE) += usb_storage.o