Linux supports this, and if we are to have compatible device tree files,
U-Boot should also.
Avoid giving the device tree files access to U-Boot's include/ directory.
Only include/dt-bindings is accessible.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
--- /dev/null
+../../../../include/dt-bindings
\ No newline at end of file
--- /dev/null
+../../../../include/dt-bindings
\ No newline at end of file
--- /dev/null
+../../../../include/dt-bindings
\ No newline at end of file
--- /dev/null
+../../../../include/dt-bindings
\ No newline at end of file
# Modified for U-Boot
dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \
-I$(srctree)/arch/$(ARCH)/dts \
+ -I$(srctree)/arch/$(ARCH)/dts/include \
-undef -D__DTS__
# Finds the multi-part object the current object will be linked into