Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5656999pxv; Wed, 28 Jul 2021 16:39:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyX4qWvijtchejz96oZEfmDt5vplocl23QeSUcxPe+TL/Z3EmJYQ6QmNP+sNyggEZ+IZASr X-Received: by 2002:a6b:e90b:: with SMTP id u11mr1604668iof.134.1627515550411; Wed, 28 Jul 2021 16:39:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627515550; cv=none; d=google.com; s=arc-20160816; b=rr7SOiq3cDU61hJl45yWpIOySEqVo3ZVuM+Xnm7u2ef+jiahpgianP/OC884w7a0rJ LPDCJUiGJmDxTwWy4R7PCn0XHlTil+gznExfvaN44nYiWPinWzQgh6YKsNY243EP1lUh jPENuf5Uyp/FrOaNFcFNGDRjOf4oKx8H2WaU+c2EYKgoV+ZrvQUtnGJKg+4Pdv/xyQ1W Da/gATlvNOssz2RBEJl9OHbSCR1g6oLV03Jsk69cSjM+K+XRSeYOuf7f5Nf/TEHagX90 V9uBgLA91vgTAaeUy0kLmzzCN3IQ7yRue2EcNS9RjqeCGcoZoXdhoqzN3qo9wseWXyHk I5aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=BFHHs7fv3jc5YudTzgw5MtexrsriZl7knh1DB5cRAes=; b=PjYC9hjY+dC2tABhx8Hcj3yBJHeEbZeZDrQdJY+hkHa09Ulxs7WvFhRlkokzzq1qbV ntxOsfqwfKk/xELtACU9gWAAtGVVMcHS6GaGjEH4FFFOAoRGGr3LMd8kPq8d1rRcxl2o SA0vqNfRUGZzVHuBQQ7VQl+QZT7sm8/dJUWY9PuDd1xuWK6yRAoE9mnqSwKJc1RQfYxZ G+pvft+mKNNjTLPZMSuyRoXoEdhkrPXNFztyTEn9i8s7MS9S3NZzE5b0QwizaQ1ybpc3 6xnCIIIT4Cyu5LOVzbqDAHpC0DtjwtimkWJ4HF6897eC36rPf8gmdB8HjqZTu/kF1rvo x+Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=L3XkxYls; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g1si1363194ile.121.2021.07.28.16.38.58; Wed, 28 Jul 2021 16:39:10 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=L3XkxYls; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232763AbhG1XiM (ORCPT + 99 others); Wed, 28 Jul 2021 19:38:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232644AbhG1XiK (ORCPT ); Wed, 28 Jul 2021 19:38:10 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6AADC061757; Wed, 28 Jul 2021 16:38:08 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id c16so4679824plh.7; Wed, 28 Jul 2021 16:38:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BFHHs7fv3jc5YudTzgw5MtexrsriZl7knh1DB5cRAes=; b=L3XkxYlsyD9aFePA5FTxjxIxslqcS0nAZPewYHSE3yXv3njr4Q0WGYVoFzfoLjnIdy JzD6jWxJ9mVOn7G2drqpJdBgy1QDVkwOTO6dcs6l7Yk1FZYgR9qTm0d5KziCoTdBeyXE yDtM+lkOOKxKPzMR3etzoHJgcXjPuQrr9N3YvZpUBUo/vMV7x4Uc+XyzznJqiV/xU23p Ke+nVhfGmDxMjgDriBvBRsngyPW2PTzu8CnyzfSBwVXKZPwbad55gzWPd1YU+G2pqiYS sX0hKtjuHfAbpMwzEgLX6dNi48Qb5hKLhaokkNids73NJsKzKZ4906qI9Ot6ZFHBC2JH v2kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=BFHHs7fv3jc5YudTzgw5MtexrsriZl7knh1DB5cRAes=; b=f4TSVZkoUL+LFii8OJnpiPS/sRXAPVg6V5vN95IMNZRNdw/4qvieIGR+JOnYIIltMn 9wFCIo0hJHuoN2YnWsN4alz5XyIqbnuPdarMhK7rFW9Rp+licYD7rZwbiW7rU6eOY02U J2MMYvhM87JhmHTCbn1nwTDVBZ8CXGsQKJGyqEKKtqakKeV4lcC4TrUIQXdv5iIyo28I 7fXtKizmUbccXm3SeJ0a46mhh6Gb/0mNpKPpupbW0wNgKuKrLQ4S+r+XbK1i6VH0i9/K 913+dQeQgaIN6HqcPYRBr9tKwdmC2lO/N08CKW5gLp9TUtRC/hmXoOecdXiaaoka18DK Q9Dw== X-Gm-Message-State: AOAM5308uus4XApWFL2J3fgKB9kdwFrLXUIaUSCloP7vX+x+Lc8b5ALd mdb8DxWUTShLTtZKy8K7UPs= X-Received: by 2002:a17:902:7884:b029:12a:efa7:18d8 with SMTP id q4-20020a1709027884b029012aefa718d8mr1997882pll.85.1627515488270; Wed, 28 Jul 2021 16:38:08 -0700 (PDT) Received: from taoren-ubuntu-R90MNF91.thefacebook.com (c-73-252-146-110.hsd1.ca.comcast.net. [73.252.146.110]) by smtp.gmail.com with ESMTPSA id k37sm1038671pgm.84.2021.07.28.16.38.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jul 2021 16:38:07 -0700 (PDT) From: rentao.bupt@gmail.com To: Rob Herring , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, taoren@fb.com Cc: Tao Ren Subject: [PATCH 2/6] ARM: dts: aspeed: wedge400: Use common flash layout Date: Wed, 28 Jul 2021 16:37:51 -0700 Message-Id: <20210728233755.17963-3-rentao.bupt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210728233755.17963-1-rentao.bupt@gmail.com> References: <20210728233755.17963-1-rentao.bupt@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tao Ren Simplify wedge400 flash layout by using the common layout defined in "facebook-bmc-flash-layout-128.dtsi". Signed-off-by: Tao Ren --- .../boot/dts/aspeed-bmc-facebook-wedge400.dts | 48 +------------------ 1 file changed, 1 insertion(+), 47 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts index 63a3dd548f30..a901c8be49b9 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts @@ -91,53 +91,7 @@ * Both firmware flashes are 128MB on Wedge400 BMC. */ &fmc_flash0 { - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - /* - * u-boot partition: 384KB. - */ - u-boot@0 { - reg = <0x0 0x60000>; - label = "u-boot"; - }; - - /* - * u-boot environment variables: 128KB. - */ - u-boot-env@60000 { - reg = <0x60000 0x20000>; - label = "env"; - }; - - /* - * FIT image: 123.5 MB. - */ - fit@80000 { - reg = <0x80000 0x7b80000>; - label = "fit"; - }; - - /* - * "data0" partition (4MB) is reserved for persistent - * data store. - */ - data0@7c00000 { - reg = <0x7c00000 0x400000>; - label = "data0"; - }; - - /* - * "flash0" partition (covering the entire flash) is - * explicitly created to avoid breaking legacy applications. - */ - flash0@0 { - reg = <0x0 0x8000000>; - label = "flash0"; - }; - }; +#include "facebook-bmc-flash-layout-128.dtsi" }; &fmc_flash1 { -- 2.17.1