Message ID | 20171215062443.23059-14-joel@jms.id.au |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp74151qgn; Thu, 14 Dec 2017 22:27:24 -0800 (PST) X-Google-Smtp-Source: ACJfBot8N2Cy4QB+iVWv1HLGxpPgxXOmeXbUGAVATekb4x71n66FlQUYyBErsSFXKX33fKlYjF38 X-Received: by 10.84.168.98 with SMTP id e89mr11983082plb.417.1513319244532; Thu, 14 Dec 2017 22:27:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513319244; cv=none; d=google.com; s=arc-20160816; b=rE9Rap5hHYPukAnbmSaYubCw0nnznpTKEBE8fmlPThmbwDz3kRWQbjKNLtVvIaARfP GskY4HeVK1wyqkhPl8/kAhv6tttaPCczy9gEN2DI2pFgFUBCjgKjDQND1kV+dfjlc3lH H7qEhE8aIZiWInSP3Zrvc2rvhJN9wgIuEmfXYDphR8Rku/cMZpvNA9cPxNKQVdIIix81 LIMv3I/69UnJueZ33pBQT1xqNa6TbQMLd0xsaHhmlmPF8glN2CqazpzO8Qni+jF0wVSX uPz9je4lXlnmn4S2gKm5FTtZCv9PMhrEEPwX3h2TL0PKnaiVnO3gEus7XAgessu4brJL rRNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=V2xKeTbA7vMM9cLogMteGhhUVwqNkCCemikiOy7t1uk=; b=WCmLRCm+mtemRtVaezU3EaPmfAqyA8hViSEO/sjQPNS2t2m7l+7f64thwfAzccmYN/ ja2sdhfwP0BGkeKKT33qZCsrTAtnzRBOW7tXJVUQ7nij+mUrLv7LNJyaszd+oJkNJbAe hnqRu9bc91idauhqYZpkjZw/p90XD28ojGRstsF6i+275SqbGJweUzo7Hn2RvoAeuJ8h 8IwOvhNpPKkoSz+UR/4tLUvNJvgigeS0ksBNgdT+52DMWVgdUmqOqvRH/hyWPpI0na3M G2/qTEmqDf/87sDGqbUtsWVvWoTtJzL24XPJq1pafK1Zjrkk+tBo1MdfKg4/MAIDa7/n oMxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=pcazoiPL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z5si4059166pgp.129.2017.12.14.22.27.24; Thu, 14 Dec 2017 22:27:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=pcazoiPL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754446AbdLOG1V (ORCPT <rfc822;mathieu.poirier@linaro.org> + 20 others); Fri, 15 Dec 2017 01:27:21 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:44900 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753317AbdLOG1Q (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 15 Dec 2017 01:27:16 -0500 Received: by mail-pg0-f66.google.com with SMTP id j9so5162741pgc.11; Thu, 14 Dec 2017 22:27:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=V2xKeTbA7vMM9cLogMteGhhUVwqNkCCemikiOy7t1uk=; b=pcazoiPLeHi/lSIl9ItVYiKLrlg/JkWe/j8ij+OdOjhADlBPeD+SdK/az8GLsxSwej 38qAK0CcopKjknbgL5KQVA0fpwdzJtRFVvkgS0dQrYoTxjx/vngP1djp7+HWyCCqWe3y i8TTUNWS0AOUQuPT5WFYQKrjG+hhh4nymnkfos68J6bH/kgV4AsqJ737lGuxP+mEWv+g 6E2UGECgBBA2FgghohE9keJ+ZBg23ecVYaH5FygFFWBC14hAsiRw0SRK58yQd6xybDgw +RSlXxuwGaCp9G5Si+b7J+Zli5Ps28bxXw4nK36m3wyvFZ9mKxOSjhPTpn62H4uq2EG6 Nb9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=V2xKeTbA7vMM9cLogMteGhhUVwqNkCCemikiOy7t1uk=; b=GsD+6TzoxBsWbyT3eMqcXrJHeBIHYcy8QGh42koz2jA0h6/mk26kZUMYSwIC7A5YET V2dFduI62x/ZIu4FlylOc13xNQmjCIt1WwH76eFuoOSb94kchKUjqZ2HJNTs4D8JWG4p jNKLVkFlBPEs/f+7EQiO3C18Y2RCCcLLMcT9IfTiQfu4XYKcf45xQc2UwWGI/FlmP3Kx enY1FMq0j/8Om/pyNTD1+4v83TiTm8xWpA1r2QTZiNlaHN1fcrMK5LZ5hbpM6mWt15gr +2U4/32n1WrxhWgw18JlDB3McQ1h1JV3Sl19gyonWoOG1TUlBKCFvn56bZWRUO8uo6Dn mPpQ== X-Gm-Message-State: AKGB3mJR2fjqwLagyGIyvC0dBnZ3crsLLzPMtZlvrR0JgtIr61+/WabJ pMdLyj+gHfSiDVhrmHhmEAI= X-Received: by 10.84.215.198 with SMTP id g6mr5153393plj.151.1513319236014; Thu, 14 Dec 2017 22:27:16 -0800 (PST) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id m11sm9773234pfh.35.2017.12.14.22.27.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Dec 2017 22:27:14 -0800 (PST) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Fri, 15 Dec 2017 16:57:06 +1030 From: Joel Stanley <joel@jms.id.au> To: Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Arnd Bergmann <arnd@arndb.de>, Andrew Jeffery <andrew@aj.id.au>, Patrick Venture <venture@google.com>, Xo Wang <xow@google.com>, Lei YU <mine260309@gmail.com> Cc: =?utf-8?q?C=C3=A9dric_Le_Goater?= <clg@kaod.org>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, Jeremy Kerr <jk@ozlabs.org>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-aspeed@lists.ozlabs.org Subject: [PATCH v2 13/19] ARM: dts: Add OpenBMC flash layout Date: Fri, 15 Dec 2017 16:54:37 +1030 Message-Id: <20171215062443.23059-14-joel@jms.id.au> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171215062443.23059-1-joel@jms.id.au> References: <20171215062443.23059-1-joel@jms.id.au> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/arch/arm/boot/dts/openbmc-flash-layout.dtsi b/arch/arm/boot/dts/openbmc-flash-layout.dtsi new file mode 100644 index 000000000000..63ad8db7a431 --- /dev/null +++ b/arch/arm/boot/dts/openbmc-flash-layout.dtsi @@ -0,0 +1,32 @@ +// SPDX-License-Identifier: GPL-2.0+ + +partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + u-boot@0 { + reg = <0x0 0x60000>; + label = "u-boot"; + }; + + u-boot-env@60000 { + reg = <0x60000 0x20000>; + label = "u-boot-env"; + }; + + kernel@80000 { + reg = <0x80000 0x440000>; + label = "kernel"; + }; + + rofs@0c0000 { + reg = <0x4c0000 0x1740000>; + label = "rofs"; + }; + + rwfs@1c00000 { + reg = <0x1c00000 0x400000>; + label = "rwfs"; + }; +};
This is a layout used by OpenBMC systems. It describes the fixed flash layout of a 32MB mtd device. Signed-off-by: Joel Stanley <joel@jms.id.au> --- arch/arm/boot/dts/openbmc-flash-layout.dtsi | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 arch/arm/boot/dts/openbmc-flash-layout.dtsi -- 2.14.1