Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7474401pxb; Thu, 18 Feb 2021 10:59:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvv1u6IaS1u9Na+2fdi10BctNhJ7bLHGv95fOlYyAe+Dw1iLbIbi0/hI5YaM8YPe9D8T8V X-Received: by 2002:a17:906:a101:: with SMTP id t1mr2613155ejy.182.1613674781233; Thu, 18 Feb 2021 10:59:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613674781; cv=none; d=google.com; s=arc-20160816; b=rYou3z9k1fHL5kpMeRB9C1X2w7vjHcJQJNuScHtW8XDjHfgp6aOBBrCiVVZozsyrbE e/i51xCZTNtVOca1qEacAaubZWZkjIsidNrOOF32FnBo3UxgaPznmGeKr6qD9wBMR3Hb 7X56ErRdXxIQZcldCkF4B7V5Uspr+CUPN/w2rd5koM9MK8IBdJ1kaOiagFn9Q+ZguFXD /nIbm/5H7s7UPLPmm5+rrR4mb1Wck9hc/MCk4JRWsmoKe/kr/esMJnN9Fc86UGk6AHir 2li7d7YbL0r8a94U35HCl7Op14agaZqDK04nQOss8ZBDX+7oW1aPURTIDsPblCBCZQLM dR4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=8yQ/zWxObiX2rUkRsp1l9aOlKO2P0V1q6ExJ8fYc9VI=; b=VnJ6yd2FMKf/7MxfsO1Wq3pZ4WERLSbXquidxalwJ17whcfQhNHU//MhQEn1tcHUXE FWqaRxTk4XQB9xQx45sWjTvxoSwRf8EHRkecA1hJPBW3lqifN9MLd0R+Nf3wM+es6dci goNnnpSuBKUiSQVKZnQVlg3UgOmAFzAfpr3gtTaWHOq1eyFdLajbvqAyFLO+Zj5dPA8G DuAv7nzZbJX/sqtqo33ENl5DDhcDU439LGz0vEni3AyvDVhav6Bya5LJdvLPBJ8EFE08 2Boa08EvcX4x/o3LPyl/CzpQCRKvcv5wUeHpI4Oj8hSgVy/KvrKZ66nQ70abOw8Ql5NA a3oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=BSxAOJZz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ox26si4992227ejb.144.2021.02.18.10.59.16; Thu, 18 Feb 2021 10:59:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=BSxAOJZz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232620AbhBRS6R (ORCPT + 99 others); Thu, 18 Feb 2021 13:58:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233356AbhBRRLp (ORCPT ); Thu, 18 Feb 2021 12:11:45 -0500 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AAA0C061788 for ; Thu, 18 Feb 2021 09:11:05 -0800 (PST) Received: by mail-il1-x12c.google.com with SMTP id q9so2116245ilo.1 for ; Thu, 18 Feb 2021 09:11:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8yQ/zWxObiX2rUkRsp1l9aOlKO2P0V1q6ExJ8fYc9VI=; b=BSxAOJZzCE6YdIymgI/nnZwgXE5GvvgbV1mpoo8Z8diaoejwUpfHDrusjQuth1K+/l xRaf7RSj1RTJYAv3X5Tec78RSlZbNCeWyYc+oqPZteOj9pA1Ee2UmqkXZVpBECnkRrfs OOT5NunbqV/ZGuvrg8DHAI7J1s1v2ZzTUK02edp0NQMNI6ZwcCiw/GvlX2C0LOTeABTA nPxbI5bP9NBR1LVYCCBLYiNYWVKz0AernT4fBwnlw24ZHwWc33Y69waKVaB1rXpqv9Qb NzbwF5CMrHEQBsiNbVh28khFJpRzGwl8z5HjRJ5HnmLlGtjMDupfpjiNSLJcz8LD7M7k QnSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8yQ/zWxObiX2rUkRsp1l9aOlKO2P0V1q6ExJ8fYc9VI=; b=LHLCVc02Q5GIQBvOsr9d4CSHov8MlLn6gBWWWB+vvxmxYKbfX0ubm+aoMmEvgebr5v ymQZ0dzKsCrgOovHUk1q7u44u4MYy6qlc8Dgg85lJzCyPdcsATn5nst25ggHVVWaYE7T Ly2LqueKnEYK/t4zT4HqPJ66fN7ZTIRkxH/tCemqiLExSk35d4GnHlaHAIGV/ACTC8s7 I1kvGjJ11rfwL9Na8wBwjgUiNmYCmYLJKMUFgX3s3L8OGyF3FSzyAfNQyfkhmUsOsuE2 VoBRV6wxH2kdOGFpoM5F9tNQ05kh/3vdZzoTGtoW2SOvJ5vdMVC7/z+rlHZAabG2G7Sg y7rw== X-Gm-Message-State: AOAM532WSPD2q3lNgywRbvXBMhYvT/s6mFrD2cg1/ItK2WOOilvlHxaS JwLwj7JKAZX4VYbGal0x+CyuV3oSEwDaV5hYhmfiBQ== X-Received: by 2002:a92:ad0a:: with SMTP id w10mr72733ilh.235.1613668263832; Thu, 18 Feb 2021 09:11:03 -0800 (PST) MIME-Version: 1.0 References: <20210218122546.3546582-1-gmouse@google.com> In-Reply-To: <20210218122546.3546582-1-gmouse@google.com> From: Benjamin Fair Date: Thu, 18 Feb 2021 09:10:26 -0800 Message-ID: Subject: Re: [PATCH] ARM: dts: nuvoton: Fix flash layout To: Anton Kachalov Cc: Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Rob Herring , OpenBMC Maillist , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 18 Feb 2021 at 04:42, wrote: > > From: "Anton D. Kachalov" > > This change satisfy OpenBMC requirements for flash layout. > > Signed-off-by: Anton D. Kachalov > --- > arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 28 +++++++---------------- > 1 file changed, 8 insertions(+), 20 deletions(-) > > diff --git a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts > index bd1eb6ee380f..741c1fee8552 100644 > --- a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts > +++ b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts > @@ -182,8 +182,8 @@ bbuboot2@80000 { > reg = <0x0080000 0x80000>; > read-only; > }; > - envparam@100000 { > - label = "env-param"; > + ubootenv@100000 { > + label = "u-boot-env"; > reg = <0x0100000 0x40000>; > read-only; > }; > @@ -195,25 +195,13 @@ kernel@200000 { > label = "kernel"; > reg = <0x0200000 0x400000>; > }; > - rootfs@600000 { > - label = "rootfs"; > - reg = <0x0600000 0x700000>; > + rofs@780000 { > + label = "rofs"; > + reg = <0x0780000 0x1680000>; > }; > - spare1@D00000 { > - label = "spare1"; > - reg = <0x0D00000 0x200000>; > - }; > - spare2@0F00000 { > - label = "spare2"; > - reg = <0x0F00000 0x200000>; > - }; > - spare3@1100000 { > - label = "spare3"; > - reg = <0x1100000 0x200000>; > - }; > - spare4@1300000 { > - label = "spare4"; > - reg = <0x1300000 0x0>; > + rwfs@1e00000 { > + label = "rwfs"; > + reg = <0x1e00000 0x200000>; > }; I recommend just including the openbmc-flash-layout.dtsi file here instead since that contains the common flash layout for most OpenBMC systems. > }; > }; > -- > 2.30.0.478.g8a0d178c01-goog >