Build devicetree files using the normal SoC-generic rule. For
nios2 there is actually only one SoC.

Signed-off-by: Simon Glass <s...@chromium.org>
---

 arch/nios2/dts/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/nios2/dts/Makefile b/arch/nios2/dts/Makefile
index 2b29fa90f6c..66aac2cf942 100644
--- a/arch/nios2/dts/Makefile
+++ b/arch/nios2/dts/Makefile
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0+
 
-dtb-y += $(CONFIG_DEFAULT_DEVICE_TREE:"%"=%).dtb
+dtb-$(CONFIG_NIOS2) += 10m50_devboard.dtb 3c120_devboard.dtb
 
 include $(srctree)/scripts/Makefile.dts
 
-- 
2.34.1

Reply via email to