summaryrefslogtreecommitdiff
path: root/lib/libfdt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libfdt/Makefile')
-rw-r--r--lib/libfdt/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libfdt/Makefile b/lib/libfdt/Makefile
index ef5b6e29d4..5d3ae4e2f1 100644
--- a/lib/libfdt/Makefile
+++ b/lib/libfdt/Makefile
@@ -22,4 +22,5 @@ obj-y += fdt_ro.o
# U-Boot own file
obj-y += fdt_region.o
-ccflags-y := -I$(srctree)/scripts/dtc/libfdt
+ccflags-y := -I$(srctree)/scripts/dtc/libfdt \
+ -DFDT_ASSUME_MASK=$(CONFIG_$(SPL_TPL_)OF_LIBFDT_ASSUME_MASK)