mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
fdt: Allow FDT functions to be built for SPL
Remove the implicit assumption that SPL does not support device tree. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
2860f03b91
commit
1d76bf226a
1 changed files with 6 additions and 0 deletions
|
@ -44,6 +44,12 @@ obj-$(CONFIG_BITREVERSE) += bitrev.o
|
|||
obj-y += list_sort.o
|
||||
endif
|
||||
|
||||
ifndef CONFIG_SPL_DISABLE_OF_CONTROL
|
||||
obj-$(CONFIG_OF_LIBFDT) += libfdt/
|
||||
obj-$(CONFIG_OF_CONTROL) += fdtdec_common.o
|
||||
obj-$(CONFIG_OF_CONTROL) += fdtdec.o
|
||||
endif
|
||||
|
||||
ifdef CONFIG_SPL_BUILD
|
||||
obj-$(CONFIG_SPL_YMODEM_SUPPORT) += crc16.o
|
||||
obj-$(CONFIG_SPL_NET_SUPPORT) += net_utils.o
|
||||
|
|
Loading…
Add table
Reference in a new issue