summaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2024-06-18 14:56:08 +0100
committerTom Rini <trini@konsulko.com>2024-07-04 16:08:37 -0600
commit92e54ca2cd8df5801f6a501455fbb377d8b60461 (patch)
treeb0714a7019b41d3690ce1676b486e3c1126cc2e0 /dts
parent51087a320da0fa3780645f7bfdb7fb616005dbdd (diff)
downloadu-boot-92e54ca2cd8df5801f6a501455fbb377d8b60461.tar.gz
u-boot-92e54ca2cd8df5801f6a501455fbb377d8b60461.tar.bz2
u-boot-92e54ca2cd8df5801f6a501455fbb377d8b60461.zip
dts/upsteam: Add Makefile for xtensa
It is required to get it xtensa OF_UPSTREAM work. Reviewed-by: Sumit Garg <sumit.garg@linaro.org> Tested-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Diffstat (limited to 'dts')
-rw-r--r--dts/upstream/src/xtensa/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/dts/upstream/src/xtensa/Makefile b/dts/upstream/src/xtensa/Makefile
new file mode 100644
index 0000000000..2a81acb32b
--- /dev/null
+++ b/dts/upstream/src/xtensa/Makefile
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0+
+
+include $(srctree)/scripts/Makefile.dts
+
+targets += $(dtb-y)
+
+# Add any required device tree compiler flags here
+DTC_FLAGS += -a 0x8
+
+PHONY += dtbs
+dtbs: $(addprefix $(obj)/, $(dtb-y))
+ @:
+
+clean-files := *.dtb *.dtbo */*.dtb */*.dtbo