[PATCH 2/9] nios2: dts: Use the normal build rule

Simon Glass sjg at chromium.org
Wed Dec 27 09:23:58 CET 2023


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

Signed-off-by: Simon Glass <sjg at 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



More information about the U-Boot mailing list