summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-11-26 13:38:15 +0100
committerTom Rini <trini@konsulko.com>2015-12-05 18:22:27 -0500
commit63ce348d275cddf17efa1b1c1609f214847b4643 (patch)
tree1c5cab34979a1bdc3ab542f3b5ecfd15cbbacc1d /common
parent4d5bb01e1f494499001bedfc8e378013af0f7766 (diff)
downloadblackbird-obmc-uboot-63ce348d275cddf17efa1b1c1609f214847b4643.tar.gz
blackbird-obmc-uboot-63ce348d275cddf17efa1b1c1609f214847b4643.zip
common/Makefile: Compile fdt_support is enabled in SPL
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>
Diffstat (limited to 'common')
-rw-r--r--common/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index d8dc892f72..2a1d9f8331 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -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
OpenPOWER on IntegriCloud