From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D23A3C433F5 for ; Tue, 15 Feb 2022 09:28:58 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 10E09836AC; Tue, 15 Feb 2022 10:28:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1644917337; bh=vWEgJGVwpO75EWiXOB5Zufnl88eYEqB8/jpbmuAvUTo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=SjIoy6R61TCJzS9thG4Vrs7+I97/1cW0/DRUZfCDJuQgSx60N0K3kkzKNUzIpNEuw j1uMrBwPkZ90cm3QV3RISCXaGN+g6GaUVOymH8mZdt32Yt0O2bHt4pndxd/pUuXB5H yE0D/6+zIYgMbHH09/eRkajAHwipCqNTvIdxl74quuFr5ojMKzFzcDONvCMc5LSvrM xRPX/jukK02sDN1qFizMRwjXG7+arHYduWIgteJbRtrHUdTclXIgL63l4tbGSf40PM VpXntg/5fbIbjhTzW5zFDkolDVIMMoMVECCOuX8C5XcoltqYV/9WjzdxQeOP6BclAw NXRkuIYGVc04g== Received: by phobos.denx.de (Postfix, from userid 109) id 55FD483775; Tue, 15 Feb 2022 10:28:55 +0100 (CET) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [IPv6:2001:67c:2050:1::465:107]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5CC4483689 for ; Tue, 15 Feb 2022 10:28:52 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp1.mailbox.org (unknown [91.198.250.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4JybPb6KLZz9sZl; Tue, 15 Feb 2022 10:28:51 +0100 (CET) Message-ID: Date: Tue, 15 Feb 2022 10:28:47 +0100 MIME-Version: 1.0 Subject: Re: [PATCH u-boot-marvell 7/9] arm: a37xx: espressobin: Move U-Boot specific partitions node to -u-boot.dtsi Content-Language: en-US To: =?UTF-8?Q?Pali_Roh=c3=a1r?= , Konstantin Porotchkin , Marek Behun , Vladimir Vid , Luka Perkov , Luis Torres , Scott Roberts , Paul Arola Cc: u-boot@lists.denx.de References: <20220214103430.24242-1-pali@kernel.org> <20220214103430.24242-8-pali@kernel.org> From: Stefan Roese In-Reply-To: <20220214103430.24242-8-pali@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean On 2/14/22 11:34, Pali Rohár wrote: > U-Boot specific changes should be in armada-3720-espressobin-u-boot.dtsi DTS file. > > Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan > --- > .../dts/armada-3720-espressobin-u-boot.dtsi | 23 +++++++++++++++++++ > arch/arm/dts/armada-3720-espressobin.dts | 18 --------------- > 2 files changed, 23 insertions(+), 18 deletions(-) > create mode 100644 arch/arm/dts/armada-3720-espressobin-u-boot.dtsi > > diff --git a/arch/arm/dts/armada-3720-espressobin-u-boot.dtsi b/arch/arm/dts/armada-3720-espressobin-u-boot.dtsi > new file mode 100644 > index 000000000000..7ec3392201bd > --- /dev/null > +++ b/arch/arm/dts/armada-3720-espressobin-u-boot.dtsi > @@ -0,0 +1,23 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > + > +#ifdef CONFIG_ENV_IS_IN_SPI_FLASH > +&spi0 { > + spi-flash@0 { > + partitions { > + compatible = "fixed-partitions"; > + #address-cells = <1>; > + #size-cells = <1>; > + > + partition@firmware { > + reg = <0 CONFIG_ENV_OFFSET>; > + label = "firmware"; > + }; > + > + partition@u-boot-env { > + reg = ; > + label = "u-boot-env"; > + }; > + }; > + }; > +}; > +#endif > diff --git a/arch/arm/dts/armada-3720-espressobin.dts b/arch/arm/dts/armada-3720-espressobin.dts > index f59f82d91632..c0e0e13953b6 100644 > --- a/arch/arm/dts/armada-3720-espressobin.dts > +++ b/arch/arm/dts/armada-3720-espressobin.dts > @@ -147,24 +147,6 @@ > reg = <0>; /* Chip select 0 */ > spi-max-frequency = <50000000>; > m25p,fast-read; > - > -#ifdef CONFIG_ENV_IS_IN_SPI_FLASH > - partitions { > - compatible = "fixed-partitions"; > - #address-cells = <1>; > - #size-cells = <1>; > - > - partition@firmware { > - reg = <0 CONFIG_ENV_OFFSET>; > - label = "firmware"; > - }; > - > - partition@u-boot-env { > - reg = ; > - label = "u-boot-env"; > - }; > - }; > -#endif > }; > }; > Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de