Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3301922iog; Mon, 27 Jun 2022 13:10:24 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uWO0TCtJqlFmF5TdJbm5yC8dESL1t20LXb9TlbxnYZckwbLkBMHCeuJVfDk6H5mbdvEnIC X-Received: by 2002:a05:6a00:1d0d:b0:525:4214:e61b with SMTP id a13-20020a056a001d0d00b005254214e61bmr834372pfx.28.1656360623962; Mon, 27 Jun 2022 13:10:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656360623; cv=none; d=google.com; s=arc-20160816; b=FH4xyAnC4jaDoQypw9m0G+oztQJEJKHNLknY6q/xKkTCuW911LiG1PcgJ7sEeU5jJy yZOtiDA0SwXhTH4RssDgdOgVgJWq5m30Di+80t60H2TFZYdZg3g3O0JfwMuWCBADbSiw H2H2/P6hC4NVT9wundksB9DjHD3uPzjRIRFl4pzDECO6+ZtYrBbpXnMvLdUsdWvEzoKz OLAvu6WXt8JKNwpL0tYnVYB/d0zbJ+wXoaCE8zpGvLP1AdN0zXa2T/LXDVYT9/mwI7g7 rPd33vxcRCDHb6HZ+HIyyaKggNn8B+JqLylG7r8b+l8ZC5xOyYDaxmNjuno/2Sv9sarv v9vg== 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=ai1jn7oLBD1i83fAJC7HQn+yYkPz0ZopkGxVqshtU3LiNi9nS/gWoIwkvmsez2tqnC GZa9MpR21Uv39pxhk4IPgZR2jrGnoHjuyTq6Qug5xZVAhaPjFufCJPiA0q4sc5/ADcKE qXRdDyGoJqSpnZDjYOg8j4QUn/UloJWCOLXMbUuRetA9AcbD/kPrnXKOBKJBpxD6Ttyk Khv7Ct2LKYRHqI0J5D29F9VHy65WNvfR9Cr2BkbfvuSBpOLvlBG2wC84JjOqEN0mj0Vx j33sYjJRWTRzld/hGWthJMo6XmMA+suj5UWCjGxGNG9f/m5ExPQeWXF1S5P5J1TXocuY 2uMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=MOohgr19; 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 y5-20020a633205000000b0040c696a0d98si15230930pgy.379.2022.06.27.13.10.10; Mon, 27 Jun 2022 13:10:23 -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=MOohgr19; 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 S240579AbiF0TnN (ORCPT + 99 others); Mon, 27 Jun 2022 15:43:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240593AbiF0Tlr (ORCPT ); Mon, 27 Jun 2022 15:41:47 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 330171704F for ; Mon, 27 Jun 2022 12:41:46 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id o4so10539228wrh.3 for ; Mon, 27 Jun 2022 12:41:46 -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=MOohgr19HljbByTvyNxJnTzuFRc+80XEY83slSBV3T38pJReWc/r2vS/nOk5tM3fgh o0PeEHbIXwdYX8w8o/2Z+tOWI/pblKRMqN6cWcuVmoSgQJcUM4k7o3KZ8Bga/IW3cMxn htf5vt82qgwz2AdmKcvtLew4WTHJpzSLNlFEtSdw1lUDBPfmzQ6VPma4Ihqx416iMO9q OjG2BfW5Fb/pMNNGTa0W3lzf/5Uj3IdmCXYm0bDti+q5Vvni3wozuVRvHSs4b2osYT2/ INsrbelKnz8FWtbN/E4RVTXkbha41T/RhTGSoWBux0TT5r20qWoUKgEs96eGFAOTBcM3 SHKA== 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=V3iPgNNaPxWb3PFBDY/I0vxa5eCdOgFOl6C5BZq+gR40tqTHTBn3ssJiRS4bFeZI+c ZM2sgqTufIVhtTJeVSLkMP712ZWLT97sfneymaAbdmsThHWau8xYVBpiiv5LoW+oa3z5 x8vQGS+8j9s+VAZNmsIpPri0ZboREcQDK9+eb7fLt2hwdZIjjgsnboXF6AKIMYPrpYa/ M0ZmhYa06VLcpPH4PuLntOVosAnOL9R4FhoVOPYkAOGoR5xHlqLm+LZWS27SEk6pZnyd XHnIzkNylq4OmbjW2kvv48w7jyV6djqVmTagAzRZEPlszDgywcy4WIAQVuqCh1VlKjLb MSog== X-Gm-Message-State: AJIora+J8w3k1lWfy59MzDO4X1wl+Lu+A00DRU1+2JdDUuWN1mWo52Gb vb7x7V5b53WlLrZr1kumNmXPXw== X-Received: by 2002:a5d:500a:0:b0:21b:8274:9ddc with SMTP id e10-20020a5d500a000000b0021b82749ddcmr14053574wrt.251.1656358904731; Mon, 27 Jun 2022 12:41:44 -0700 (PDT) Received: from henark71.. ([51.37.234.167]) by smtp.gmail.com with ESMTPSA id e9-20020a5d4e89000000b0021a3a87fda9sm11428047wru.47.2022.06.27.12.41.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jun 2022 12:41:44 -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 , Heng Sia , 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 v2 16/16] riscv: dts: canaan: build all devicetress if SOC_CANAAN Date: Mon, 27 Jun 2022 20:40:04 +0100 Message-Id: <20220627194003.2395484-17-mail@conchuod.ie> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220627194003.2395484-1-mail@conchuod.ie> References: <20220627194003.2395484-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