mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-27 17:41:34 +00:00
dm: Don't include fdtdec functions when of-platdata is enabled
We cannot access the device tree in this case, so avoid compiling in the various device-tree helper functions. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
b484b0daef
commit
7a53a54073
1 changed files with 2 additions and 3 deletions
|
@ -48,11 +48,10 @@ obj-$(CONFIG_$(SPL_)SHA1) += sha1.o
|
||||||
obj-$(CONFIG_$(SPL_)SHA256) += sha256.o
|
obj-$(CONFIG_$(SPL_)SHA256) += sha256.o
|
||||||
|
|
||||||
obj-$(CONFIG_$(SPL_)OF_LIBFDT) += libfdt/
|
obj-$(CONFIG_$(SPL_)OF_LIBFDT) += libfdt/
|
||||||
ifdef CONFIG_SPL_OF_CONTROL
|
ifneq ($(CONFIG_SPL_BUILD)$(CONFIG_SPL_OF_PLATDATA),yy)
|
||||||
obj-$(CONFIG_OF_LIBFDT) += libfdt/
|
|
||||||
endif
|
|
||||||
obj-$(CONFIG_$(SPL_)OF_CONTROL) += fdtdec_common.o
|
obj-$(CONFIG_$(SPL_)OF_CONTROL) += fdtdec_common.o
|
||||||
obj-$(CONFIG_$(SPL_)OF_CONTROL) += fdtdec.o
|
obj-$(CONFIG_$(SPL_)OF_CONTROL) += fdtdec.o
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_SPL_BUILD
|
ifdef CONFIG_SPL_BUILD
|
||||||
obj-$(CONFIG_SPL_YMODEM_SUPPORT) += crc16.o
|
obj-$(CONFIG_SPL_YMODEM_SUPPORT) += crc16.o
|
||||||
|
|
Loading…
Add table
Reference in a new issue