aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-12-16 20:59:10 -0700
committerTom Rini <trini@konsulko.com>2021-12-23 10:24:39 -0500
commit4dc1d8318b33449c6d8e62c9371f021c61fe75a9 (patch)
treecd630512f91103d2a7ed9d97e52169e78eb835ea /arch
parentc3c1614537d4fd2c5b7f1c29887541210bf0b8bd (diff)
downloadu-boot-4dc1d8318b33449c6d8e62c9371f021c61fe75a9.zip
u-boot-4dc1d8318b33449c6d8e62c9371f021c61fe75a9.tar.gz
u-boot-4dc1d8318b33449c6d8e62c9371f021c61fe75a9.tar.bz2
arm: qemu: Add a devicetree file for qemu_arm
This uses QEMU virt which creates its own devicetree. Add an empty version of this file, so that we can at least build this board when devicetrees are required. Tested-by: Heinrich Schuchardt <heinrich.schuchardt@canaonical.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/Makefile2
-rw-r--r--arch/arm/dts/qemu-arm.dts11
2 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 7f622fe..eaad3b6 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -1162,6 +1162,8 @@ dtb-$(CONFIG_TARGET_IMX8MM_CL_IOT_GATE_OPTEE) += imx8mm-cl-iot-gate-optee.dtb
dtb-$(CONFIG_TARGET_EA_LPC3250DEVKITV2) += lpc3250-ea3250.dtb
+dtb-$(CONFIG_ARCH_QEMU) += qemu-arm.dtb
+
targets += $(dtb-y)
# Add any required device tree compiler flags here
diff --git a/arch/arm/dts/qemu-arm.dts b/arch/arm/dts/qemu-arm.dts
new file mode 100644
index 0000000..230c630
--- /dev/null
+++ b/arch/arm/dts/qemu-arm.dts
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0+ OR MIT
+/*
+ * Empty device tree for qemu_arm
+
+ * Copyright 2021 Google LLC
+ */
+
+/dts-v1/;
+
+/ {
+};