Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp888906iog; Wed, 29 Jun 2022 12:16:03 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uK+eiYUrCi3mZtbm2z8AyU3A+gDV+sR/CIMt2zekJ3OtVWI9IVLg2haOvs7tzgdA/SfiUA X-Received: by 2002:a17:902:bd93:b0:16b:a91d:5e77 with SMTP id q19-20020a170902bd9300b0016ba91d5e77mr1199795pls.110.1656530163559; Wed, 29 Jun 2022 12:16:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656530163; cv=none; d=google.com; s=arc-20160816; b=YSnsWYQcprL1Aa+CuhVAxMVGwv6zTaHBnvB4moCS/k1rWSxk3/PZ/uM0gKIPsZPrqi /uOTVBM0l9DMr/ljsmRJRb1F6JZYr422FOYyncWSfCKS0wcCW5xR8gqbT3eHCHy/HGWY rfNnS0Ppcux2eWgiu6QUH8C3PChS70a7rKavGfFV1I5hz+5DBvZzG9bgrdNkT2I0Yv7C BQ+0nc5Hc6MyfbTlPn8+SaDQ0bRYfaEcmBWHTEpJ8YOQy5bGfrfh7iRvZPQP3bOO04M6 BY8pTnZ6wnN2puR3sSIsfcn7p14Ugozy1LF8ZZ15DXpHS7XCwdO0Ql06+wg3KNrtAvJi F78w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZPnaNl2N6OCS49bYwYg25LRRooD0U5t+6njnQfYqn3w=; b=XySGw9snGP3G6S2fbZBob37mdXPgeb108ZUzQ2gI3rxMO/iGE+9J86utrSfIQCtTPY 5QniNdLT4R36Len7R9ZHwrMRxsuDmqZBOqQwaUcGbpPNs1I7AMQyVv+200qa/cCQ0Unb veRghyGwLSajrhkutt6RVcfVdyy6Da2zR0D2I4TvEJyiJKnLE7seoUAWFymo5NE3gvW7 7blwphVUPtStxvRz0MN4Z+7Ar0FjR4//AIXe77FVW9HtgDPoenbaJkquOyc7SNDXlQVr drJw67BOgphdp2USruX3L4Y/0fMqk5CTqX8jhwWOqeMFYeb8NlJtkQpl/TdBnqWduZqF Ivfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=cun3Fr5k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 21-20020a630515000000b0040ca522c179si23826013pgf.128.2022.06.29.12.15.51; Wed, 29 Jun 2022 12:16:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=cun3Fr5k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231685AbiF2Spa (ORCPT + 99 others); Wed, 29 Jun 2022 14:45:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231559AbiF2SpH (ORCPT ); Wed, 29 Jun 2022 14:45:07 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 580DF36310 for ; Wed, 29 Jun 2022 11:45:02 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id g39-20020a05600c4ca700b003a03ac7d540so170327wmp.3 for ; Wed, 29 Jun 2022 11:45:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod.ie; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZPnaNl2N6OCS49bYwYg25LRRooD0U5t+6njnQfYqn3w=; b=cun3Fr5kbB1kc8fHUe1Pp/5QcguZXRCH+7TrDGk+ZMirUtgQL36YLVbJCyhLZkOBJy LhvI1GVPT1ZTiqmhJOU4Q4LLd5pGvHUxjtjZGRI3dGMdUZcBN86wcFBgUizT8kZoHfh+ rzleb2gxRvUVaOsxtxjzB3eOBv6fv6XHPIx7hcXbCi9kY8hS+dv7hGMpXyC9zsYxLjVV OdIhzsTDSyIcq3kRndNjuRbrJ/XkT7HQi3aadRk0Mm5KKIz0aoZlheM2JjydatfBmbmE b2/Cw63ViZ4v3295nkIXbKulmCKxxxTgoEJn+r+AuOx8BCV+qEspBTkmWddspDZSYqKX yfng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZPnaNl2N6OCS49bYwYg25LRRooD0U5t+6njnQfYqn3w=; b=yROmvc6JK8ZfixVBV/K5rSjBIPyyva4nlErYNQj0zMllvhWWfQkHgFq9WjfhYm+q1U PT0H8MrA2uUoVY1AGAgw8EAnjBQoTvPbcIwAXRK6g5nsjEviwe6uAraZXAdk5f7+br5v JAU7NHvrOBJTjM3sEhKrAiebYi1daT2IZRah2E9i3GdC/03RzjM57Ii3Vb4dFBgEaAGE 2Ee4nw1S1iZI6bjvJ8qPaxhhUsqSV0Os5z8dQuSpoNRLeDAaOdtKQF1hnoK5h9NTsIZV V+vLQyd89hxwO4BxSAImmnUAqnKM5tIF7W2nxvhd53/z7NB14uiXkn2etnas3QosobC5 fWAQ== X-Gm-Message-State: AJIora+xxe3m2KVgFSIRvyqTgnBBaRk8/zBtPdR7DgXUh9B8g4I1J5tg 7FpilAHWQQzkWHc/33+a0sGpkw== X-Received: by 2002:a05:600c:886:b0:3a0:49d7:d8b9 with SMTP id l6-20020a05600c088600b003a049d7d8b9mr7557614wmp.115.1656528300967; Wed, 29 Jun 2022 11:45:00 -0700 (PDT) Received: from henark71.. ([51.37.234.167]) by smtp.gmail.com with ESMTPSA id u23-20020a7bcb17000000b0039aef592ca0sm3834371wmj.35.2022.06.29.11.44.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 11:45:00 -0700 (PDT) From: Conor Dooley To: David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Thierry Reding , Sam Ravnborg , Eugeniy Paltsev , Vinod Koul , Liam Girdwood , Mark Brown , Serge Semin , Daniel Lezcano , Palmer Dabbelt , Palmer Dabbelt Cc: Thomas Gleixner , Paul Walmsley , Albert Ou , Conor Dooley , Masahiro Yamada , Damien Le Moal , Geert Uytterhoeven , Niklas Cassel , Dillon Min , Jose Abreu , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, alsa-devel@alsa-project.org, linux-spi@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH v3 15/15] riscv: dts: canaan: build all devicetress if SOC_CANAAN Date: Wed, 29 Jun 2022 19:43:44 +0100 Message-Id: <20220629184343.3438856-16-mail@conchuod.ie> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220629184343.3438856-1-mail@conchuod.ie> References: <20220629184343.3438856-1-mail@conchuod.ie> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Conor Dooley Testing & checking the Canaan devicetrees is inconvenient as only the devicetree corresponding to SOC_CANAAN_K210_DTB_BUILTIN will be built. Change the Makefile so that all devicetrees are built by default if SOC_CANAAN but only the one specified by SOC_CANAAN_K210_DTB_BUILTIN gets built as an object. Signed-off-by: Conor Dooley --- arch/riscv/boot/dts/canaan/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/riscv/boot/dts/canaan/Makefile b/arch/riscv/boot/dts/canaan/Makefile index c61b08ac8554..befe4eb7527b 100644 --- a/arch/riscv/boot/dts/canaan/Makefile +++ b/arch/riscv/boot/dts/canaan/Makefile @@ -1,3 +1,9 @@ # SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_SOC_CANAAN_K210_DTB_BUILTIN) += $(addsuffix .dtb, $(CONFIG_SOC_CANAAN_K210_DTB_SOURCE)) -obj-$(CONFIG_SOC_CANAAN_K210_DTB_BUILTIN) += $(addsuffix .o, $(dtb-y)) +dtb-$(CONFIG_SOC_CANAAN) += canaan_kd233.dtb +dtb-$(CONFIG_SOC_CANAAN) += k210_generic.dtb +dtb-$(CONFIG_SOC_CANAAN) += sipeed_maix_bit.dtb +dtb-$(CONFIG_SOC_CANAAN) += sipeed_maix_dock.dtb +dtb-$(CONFIG_SOC_CANAAN) += sipeed_maix_go.dtb +dtb-$(CONFIG_SOC_CANAAN) += sipeed_maixduino.dtb + +obj-$(CONFIG_SOC_CANAAN_K210_DTB_BUILTIN) += $(addsuffix .dtb.o, $(CONFIG_SOC_CANAAN_K210_DTB_SOURCE)) -- 2.36.1