Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1749790imw; Tue, 5 Jul 2022 14:58:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tzEGTKz84m7LlYry5pWmyQlmttcAA8NZ6qL+v/xl0a2BdO1yh8aRkjZcNQooTVXd5+dRME X-Received: by 2002:a05:6402:1909:b0:43a:64bb:9f27 with SMTP id e9-20020a056402190900b0043a64bb9f27mr15823569edz.24.1657058286233; Tue, 05 Jul 2022 14:58:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657058286; cv=none; d=google.com; s=arc-20160816; b=D+OOXLgJxPDn7dSpRVxWCvXca78gY/YrxhotSgMZDlStQhSjxYmh56NCfCXL63OF3n /exMfRTI9yN2h6SqVbabYod4zIa6EgfUZlNHBQnHCGIzWT+Lu65GWbL4Q92zKqfxeLHf CJLfOO0Drv8/y4K5+keG+/rC+EpTTWQQcFnrKtZ9UFOly2SLd06dVdaV3HFysT8yioUr AwWHG8wdbWYryNkQFI51PCIsuDLWkPKd2YWF6qpkWSoPuBGwrB4/J2bIAqZZL73wFOpO qCz6cXKjAxA8rcKIXbSlsm9AFtmABBW+V/ll0ChNnhttG3is7u/wfpE3MXk7gYocIcEQ x7+A== 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=lj8lQBl+rzKhHnZ+Xd+ZIX70dBba4zQ87/hMtZKztKo=; b=B/gubgRlF3X3X9BQ2s2EC1gp/2zUgf7EOqDlvrisJvq4Hc9pfL9rFRPYBaoU8i0m/2 pJRKxKdfPZbXxt2zif6y24dPHeG43KHCCzYsetiIh6bQt01qf8lfuDOvbGPcKNW8IXO9 rWkzFySXT925C3Q+8U5mz8SsRL0o6SHZDiKEVRHQRbjpw4lXdEbZyazBpvqKxruVAy5t kLaiNxWCnBEkcO4uMwmQDIZKDb+0GjS2xsZ2f684LcBXnDD2VOgzEt4jW6U/N7cctIvT PppcI7dI1PiazqDEECgdRO0O7u/kPkgk3/QOH+gM/7Wdg76j8OV8YgekXDX6ulFx5DYU Hj/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=SWBLyNd3; 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 c15-20020a05640227cf00b0043783a7f05bsi19659156ede.207.2022.07.05.14.57.41; Tue, 05 Jul 2022 14:58:06 -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=SWBLyNd3; 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 S232532AbiGEVxi (ORCPT + 99 others); Tue, 5 Jul 2022 17:53:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232784AbiGEVxN (ORCPT ); Tue, 5 Jul 2022 17:53:13 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22CA01A82E for ; Tue, 5 Jul 2022 14:52:42 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id b26so19409775wrc.2 for ; Tue, 05 Jul 2022 14:52:42 -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=lj8lQBl+rzKhHnZ+Xd+ZIX70dBba4zQ87/hMtZKztKo=; b=SWBLyNd34TD/mZu6n2FRfmU1HE1CDonJi13qsFyhAyqnSyEQ/KmdR1UWXQSWh8Lc4S wboztDYyEl0cB6dNxkPhLH8Vut8eQklDlAzLAba8wD+ncpM0c/ss1G9HZw6iwywvQYDc Wp4EiJ8gFj2NtEhHkoHzq6BO5iZJQV8yqDNi/hV+TI3EdwxWa8PyiRtclVAhofmrQMv1 O4MgZCyDw4sYc3gDgn4HyTIQC0OgktoApwqj7hpRysjTLfmxTwmhIL9038u47rfi3QnR TEsjdMTU0aXj0ZC25wthUzJnFtFa+8G8sy0GbjfRv+uUUgqNTVhurKapbgEb8iTWOR1w qZPA== 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=lj8lQBl+rzKhHnZ+Xd+ZIX70dBba4zQ87/hMtZKztKo=; b=oRLfjNhMIyzm0asobyspj70KKk/mFdUgvaPY3TlbGvEi+kWvfFfzmmviLlXuVM3HdG gJFHYXjKb8FjJXMFjLPckuGdIPzpeYJPXz04W91oxnBZVU666L9+Aem5XfyEVmvguCPp 2MWNCLVsc6VO2Yucayespj8MWsmwMtfHwGF6PYTC0F83gPhevZJNfExdwDTXBwlKcazx 6A4tP6oqUCx3JlzgWACpUsTsq7RJCdED7voOR2G2RaId2s/FZmGFaLD44agrU6xtd6eD EulSv9Cj7Fyp8BbPGy9TPvktz/umVV8r+4bqQIBWuRbPnDjePh5+srYzW/10fswhJoZq Iebg== X-Gm-Message-State: AJIora9JUX5Flxq6+Yc4slbgaBLwwzlfnOKB4TmkutHA1zwoxG15107B Hg4N7Dfm2gvZdXHjST40ekG3ZA== X-Received: by 2002:a5d:64aa:0:b0:21b:c38b:bb81 with SMTP id m10-20020a5d64aa000000b0021bc38bbb81mr33626354wrp.666.1657057962100; Tue, 05 Jul 2022 14:52:42 -0700 (PDT) Received: from henark71.. ([51.37.234.167]) by smtp.gmail.com with ESMTPSA id g34-20020a05600c4ca200b0039c7dbafa7asm18353920wmp.19.2022.07.05.14.52.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jul 2022 14:52:41 -0700 (PDT) From: Conor Dooley To: David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Thierry Reding , Sam Ravnborg , Eugeniy Paltsev , Vinod Koul , Serge Semin , Daniel Lezcano , Palmer Dabbelt , Palmer Dabbelt Cc: Paul Walmsley , Albert Ou , Conor Dooley , Masahiro Yamada , Damien Le Moal , Geert Uytterhoeven , Niklas Cassel , Dillon Min , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH v5 13/13] riscv: dts: canaan: build all devicetress if SOC_CANAAN Date: Tue, 5 Jul 2022 22:52:14 +0100 Message-Id: <20220705215213.1802496-14-mail@conchuod.ie> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220705215213.1802496-1-mail@conchuod.ie> References: <20220705215213.1802496-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.37.0