Skip to contentSkip to conversation

common/Makefile: Compile fdt_support is enabled in SPL

PATCH In review Stefan Roese 3 participants 3 messages Nov 26, 2015 – Dec 6, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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().

---
 common/Makefile | 1 +
 1 file changed, 1 insertion(+)
common/Makefile +1 -0
index d8dc892..2a1d9f8 100644
@@ -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
Signature · 1 line
2.6.3
#2 lore raw
In reply to Stefan Roese
Quoted 7 lines · Stefan Roese

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().

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151206/005fef76/attachment.sig>