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 X-Spam-Level: X-Spam-Status: No, score=-17.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85CA6C07E96 for ; Sun, 11 Jul 2021 11:19:06 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 9DB2D61209 for ; Sun, 11 Jul 2021 11:19:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9DB2D61209 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nic.cz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 85E7282C26; Sun, 11 Jul 2021 13:19:01 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nic.cz Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=nic.cz header.i=@nic.cz header.b="tM0dp4aF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A6E8082C2D; Sun, 11 Jul 2021 13:18:59 +0200 (CEST) Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CCEA482C03 for ; Sun, 11 Jul 2021 13:18:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nic.cz Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=marek.behun@nic.cz Received: from thinkpad (unknown [172.20.6.87]) by mail.nic.cz (Postfix) with ESMTPSA id 40B2B1412E3; Sun, 11 Jul 2021 13:18:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1626002336; bh=aZkNMoTs6jH7eau7p1lndCCx4RvyQJxM3Kq/ubyB/vM=; h=Date:From:To; b=tM0dp4aFux3MzRbWXRzmuYxQk1DNW5vCpPu6HeKNz1YTYAItID6JhlzRUXMICclqm 4/saiLyH5Hv6ZORUpKtO75JXSEW4y6x/MiAME090bO4GCWndMqEUav2nxTbohA3sLd L33V4uJslvx10om8YY3F8zZgCFh9ElDLkv7g0mrM= Date: Sun, 11 Jul 2021 13:18:55 +0200 From: Marek Behun To: Masami Hiramatsu Cc: Simon Glass , Tom Rini , Heinrich Schuchardt , Jassi Brar , Ilias Apalodimas , Masahisa Kojima , Takahiro Akashi , u-boot@lists.denx.de Subject: Re: [PATCH v2 3/6] dts: synquacer: Add partition information to the spi-nor Message-ID: <20210711131855.7284be69@thinkpad> In-Reply-To: <162596437959.156585.5142528869375419273.stgit@localhost> References: <162596435163.156585.9583856356967436590.stgit@localhost> <162596437959.156585.5142528869375419273.stgit@localhost> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean On Sun, 11 Jul 2021 09:46:19 +0900 Masami Hiramatsu wrote: > Add partition information to the spi-nor flash. > This is required for accessing NOR flash via mtdparts. >=20 > Signed-off-by: Masami Hiramatsu > --- > Changes in v2: > - Add new lines to separate the partitions. > --- > .../dts/synquacer-sc2a11-developerbox-u-boot.dtsi | 49 ++++++++++++++= ++++++ > 1 file changed, 49 insertions(+) >=20 > diff --git a/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi b/arc= h/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi > index 2f13a42235..7a56116d6f 100644 > --- a/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi > +++ b/arch/arm/dts/synquacer-sc2a11-developerbox-u-boot.dtsi > @@ -31,6 +31,55 @@ > spi-max-frequency =3D <31250000>; > spi-rx-bus-width =3D <0x1>; > spi-tx-bus-width =3D <0x1>; > + > + partitions { > + compatible =3D "fixed-partitions"; > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + > + partition@0 { > + label =3D "BootStrap-BL1"; > + reg =3D <0x0 0x70000>; > + read-only; > + }; > + > + partition@70000 { > + label =3D "Flash-Writer"; > + reg =3D <0x70000 0x90000>; > + read-only; > + }; > + > + partition@100000 { > + label =3D "SCP-BL2"; > + reg =3D <0x100000 0x80000>; > + read-only; > + }; > + > + partition@180000 { > + label =3D "FIP-TFA"; > + reg =3D <0x180000 0x78000>; > + }; > + > + partition@1f8000 { > + label =3D "Stage2Tables"; > + reg =3D <0x1f8000 0x8000>; > + }; > + > + partition@200000 { > + label =3D "U-Boot"; > + reg =3D <0x200000 0x100000>; > + }; > + > + partition@300000 { > + label =3D "UBoot-Env"; > + reg =3D <0x300000 0x100000>; > + }; > + > + partition@500000 { > + label =3D "Ex-OPTEE"; > + reg =3D <0x500000 0x200000>; > + }; > + }; > }; > }; > =20 >=20 Reviewed-by: Marek Beh=C3=BAn