Message ID | 20230504-arm-dts-mv-v1-3-2c8e51a2b6c4@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp119446vqo; Thu, 4 May 2023 20:47:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5K3zrJ1X1HOYEZzeqmtUV+zsufN2B2zxlImAMv0l8bN8n83ISxT9aH6sBNsvIJQj/XXWmn X-Received: by 2002:a17:90a:c10:b0:24b:2ef6:64d5 with SMTP id 16-20020a17090a0c1000b0024b2ef664d5mr1891pjs.47.1683258451150; Thu, 04 May 2023 20:47:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683258451; cv=none; d=google.com; s=arc-20160816; b=JQS1Y7yi5ty4/j1LuO3KY027Ktoje5TQX335w8UpGCm79vmz80G55RuS21rutxKTJ5 +B+CvGhI8UWcunxs7aoFrDDLQYVlAy80B4nQISPYVsBcP1bDwLe30OC+8EQ95BBmUR/r 5M6vQIISFWw66ZHCUr0g5dMhiOE/HAm0K6IKgCHgr5AyJOvytbs3WL3NGaUBpSg4XIlR YmIf1e3u5lWeyAhf6UIDjr7McUzHvvYGagzAyH9rY1rTyTWHaHMQRSt6EkSqz6Uki1qB SkrBJPDtg5u2+yHohz1oTyytlOQ7lGQp+PZ8zzI1GLiUma+LjcZ0lXljT/TRR0Ll2rFt DCoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=cO08HzmVk1n7d0QynKl12ITRwYajT1G6ollIJzLwnQ0=; b=bq/13r8Ll2Pyv3RYAcHxFHI87Ka+OUfj7eWQloi4TivnXrxtGQm4Re0GiSSAxE+OiI SWS6Ca2Dk02ifyAo5e1eNFHtmk+Z9tqo/129/t+Gvi9FXO8N+zke9dyflhxZSVilRbBH wEbYjFzw/m4J5KZaVXk5V4RhSrzAfOBzoX8Elq6uZf/yJilm/NJp4uqbmdH8ORV5mQAX 6FD1wZpMdNnXs+l/CTLRSfzfqrw4PU1vfBGqkYO2o0igcorBQhSOtvjNFyoNz+oQjfCA H7uNALTAWtsPIlxtZfPjnpy446HMS68NQrkZ1EiYzwl8wj1AnK8Q5AnlvihfRBdT/mMY IWJA== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a23-20020a17090abe1700b0024e3be10f6asi6457006pjs.26.2023.05.04.20.47.15; Thu, 04 May 2023 20:47:31 -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; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230140AbjEED34 (ORCPT <rfc822;b08248@gmail.com> + 99 others); Thu, 4 May 2023 23:29:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230097AbjEED3o (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 4 May 2023 23:29:44 -0400 Received: from mail-oa1-f54.google.com (mail-oa1-f54.google.com [209.85.160.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE76393CB; Thu, 4 May 2023 20:29:42 -0700 (PDT) Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-192798cf019so1131479fac.3; Thu, 04 May 2023 20:29:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683257382; x=1685849382; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cO08HzmVk1n7d0QynKl12ITRwYajT1G6ollIJzLwnQ0=; b=c+S201u7ip3LT2u+haejjTccwQiG6Zo9aVmfX1GnNAVcrf3LzSROGKyERKOIiT6YUA Ry8TjYRyqB1u4JADhw5Ot7ysE5+MQchCuNfC1BGLkHVMYYgx6SQD1HA7hlI5vx1PbT89 xuLU2X+NFiom25JZQc8lSBiDpd484e+CPIZsSGDiHdeUyRg5peYtn24BWEmaE6BXu8Fj lYSSxukhDLPTNGJ+A371KB2xTc6tFcbLCIp8nR/v93WjdSM4XiF09Jec2bjEKPsG/NJe WoAira6AtAfj4Vua3kJJMEuoOx8v7eiOC3WDAR2HF3TcIqg8y01oC40NIu3FEJU23Z2N 99wg== X-Gm-Message-State: AC+VfDy69aAEQtSmaLuEvJgdWAY5RC19XFRBXbD1unweqbhBsmIqlcyI aLNSZSnl+/tkkq358NSJhnJa4MHTYQ== X-Received: by 2002:a05:6808:308f:b0:38c:3c53:9e15 with SMTP id bl15-20020a056808308f00b0038c3c539e15mr3141116oib.13.1683257381863; Thu, 04 May 2023 20:29:41 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id w12-20020a056808090c00b0038c235e24fesm2259619oih.48.2023.05.04.20.29.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 May 2023 20:29:41 -0700 (PDT) Received: (nullmailer pid 1056850 invoked by uid 1000); Fri, 05 May 2023 03:29:31 -0000 From: Rob Herring <robh@kernel.org> Date: Thu, 04 May 2023 22:29:28 -0500 Subject: [PATCH 3/4] kbuild: Support flat DTBs install MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230504-arm-dts-mv-v1-3-2c8e51a2b6c4@kernel.org> References: <20230504-arm-dts-mv-v1-0-2c8e51a2b6c4@kernel.org> In-Reply-To: <20230504-arm-dts-mv-v1-0-2c8e51a2b6c4@kernel.org> To: soc@kernel.org, Christian Marangi <ansuelsmth@gmail.com>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Russell King <linux@armlinux.org.uk>, Masahiro Yamada <masahiroy@kernel.org>, =?utf-8?q?Andreas_F=C3=A4rber?= <afaerber@suse.de>, Manivannan Sadhasivam <mani@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, Antoine Tenart <atenart@kernel.org>, Neil Armstrong <neil.armstrong@linaro.org>, Kevin Hilman <khilman@baylibre.com>, Jerome Brunet <jbrunet@baylibre.com>, Martin Blumenstingl <martin.blumenstingl@googlemail.com>, Linus Walleij <linus.walleij@linaro.org>, Sudeep Holla <sudeep.holla@arm.com>, Joel Stanley <joel@jms.id.au>, Nicolas Ferre <nicolas.ferre@microchip.com>, Alexandre Belloni <alexandre.belloni@bootlin.com>, Claudiu Beznea <claudiu.beznea@microchip.com>, Lars Persson <lars.persson@axis.com>, Scott Branden <sbranden@broadcom.com>, Florian Fainelli <f.fainelli@gmail.com>, Andre Przywara <andre.przywara@arm.com>, Baruch Siach <baruch@tkos.co.il>, Wei Xu <xuwei5@hisilicon.com>, Jean-Marie Verdun <verdun@hpe.com>, Nick Hawkins <nick.hawkins@hpe.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Vladimir Zapolskiy <vz@mleia.com>, Andrew Lunn <andrew@lunn.ch>, Gregory Clement <gregory.clement@bootlin.com>, Lubomir Rintel <lkundrak@v3.sk>, Matthias Brugger <matthias.bgg@gmail.com>, Peter Rosin <peda@axentia.se>, Nancy Yuen <yuenn@google.com>, Benjamin Fair <benjaminfair@google.com>, =?utf-8?q?Jonathan_Neusch=C3=A4fer?= <j.neuschaefer@gmx.net>, Thierry Reding <thierry.reding@gmail.com>, Bjorn Andersson <andersson@kernel.org>, Geert Uytterhoeven <geert+renesas@glider.be>, Heiko Stuebner <heiko@sntech.de>, Daniel Palmer <daniel@thingy.jp>, Romain Perier <romain.perier@gmail.com>, Kunihiko Hayashi <hayashi.kunihiko@socionext.com>, Masami Hiramatsu <mhiramat@kernel.org>, Viresh Kumar <vireshk@kernel.org>, Shiraz Hashim <shiraz.linux.kernel@gmail.com>, Patrice Chotard <patrice.chotard@foss.st.com>, Marek Vasut <marex@denx.de>, Qin Jian <qinjian@cqplus1.com>, Jisheng Zhang <jszhang@kernel.org>, Tony Lindgren <tony@atomide.com>, Paul Barker <paul.barker@sancloud.com>, Bartosz Golaszewski <brgl@bgdev.pl>, Nishanth Menon <nm@ti.com>, Santosh Shilimkar <ssantosh@kernel.org>, Enric Balletbo i Serra <eballetbo@gmail.com>, Javier Martinez Canillas <javier@dowhile0.org>, Michal Simek <michal.simek@xilinx.com> Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@axis.com X-Mailer: b4 0.13-dev X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765024413704978783?= X-GMAIL-MSGID: =?utf-8?q?1765024413704978783?= |
Series | ARM: Move dts files to vendor sub-directories | |
Commit Message
Rob Herring
May 5, 2023, 3:29 a.m. UTC
In preparation to move Arm .dts files into sub-directories grouped
by vendor/family, the current flat tree of DTBs generated by
dtbs_install needs to be maintained. Moving the installed DTBs to
sub-directories would break various consumers using 'make dtbs_install'.
This is a NOP until sub-directories are introduced.
Signed-off-by: Rob Herring <robh@kernel.org>
---
arch/arm/Kconfig | 3 +++
scripts/Makefile.dtbinst | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index e24a9820e12f..7a3b1176f19d 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1463,6 +1463,9 @@ config USE_OF help Include support for flattened device tree machine descriptions. +config ARCH_WANT_FLAT_DTB_INSTALL + def_bool y + config ATAGS bool "Support for the traditional ATAGS boot data passing" default y diff --git a/scripts/Makefile.dtbinst b/scripts/Makefile.dtbinst index 2ab936e4179d..4405d5b67578 100644 --- a/scripts/Makefile.dtbinst +++ b/scripts/Makefile.dtbinst @@ -34,6 +34,6 @@ $(dst)/%.dtbo: $(obj)/%.dtbo PHONY += $(subdirs) $(subdirs): - $(Q)$(MAKE) $(dtbinst)=$@ dst=$(patsubst $(obj)/%,$(dst)/%,$@) + $(Q)$(MAKE) $(dtbinst)=$@ dst=$(if $(CONFIG_ARCH_WANT_FLAT_DTB_INSTALL),$(dst),$(patsubst $(obj)/%,$(dst)/%,$@)) .PHONY: $(PHONY)