Message ID | 20171211050704.20621-15-joel@jms.id.au |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2371590qgn; Sun, 10 Dec 2017 21:10:33 -0800 (PST) X-Google-Smtp-Source: AGs4zMa/QM+c+jiFQQnsUVviMvdx2ZGmIjlI2QT5w22WzH4vdC/Bm63oNNSra+Vgl5QyDY2ohL7d X-Received: by 10.84.143.34 with SMTP id 31mr10090450ply.446.1512969033734; Sun, 10 Dec 2017 21:10:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512969033; cv=none; d=google.com; s=arc-20160816; b=tO/LXO1yEVvJfpXRU5H60vLBpPn2JoGwcJ7kgr6l7eWPvZesQ5lpy1mY4iIhFkckpg CO/iD1eCtixSJoqRRkTKjdUoy7jHAREFtFv/7xX5FvJOg0WhEYMkiPD4BARcHMqGZ87+ oj0PhLfweZj6E4VShpsxomTglQom7c3hZCvR/BODPs45xCnAZCd/6jmaIiN3ECRD/R7m ht+CCxuFhubJ8OzkTiqjAEroNxH3Tjn3FnplysufTqqRTNTsdzI81WIVGLE6YSuc+iJq 908N8Iq2oa94fW3FLRn+rbSmLysWruulxDBVdogxlNtKeTWAuXahpMa+gCLlWOjdmfpD KKkQ== 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=1JMzQ/FPuSkfbbjcgVjQyeIv2sPbBiWmCObj7HdDbZXC5x628QEZiyabfsaiFQAnP9 A1fUCFdHEB+/zMyaLv5rq0lK6gOyXQYSAZ8itFtBZwoDCJkSgbSU9JBQpfUC43ottTJT jm4wMsfdnzo0fwfaAfnSJckY46wFNwHiITmoNGgVvRU/tXCpmsVt7ON5C2YuNIjKV5ji KeJMXc/6L4Z/2tZYPdBy8wOYhQ0DtjIuVRwNxDsjwjFRV/HOkpdrsAeewe7MJ1zK45v0 fW96qcZt44pi+Xkly+NB65+/M2+scTiWciF7MrMWXOQcJF3VPnBImJg10G2d3ml4W6qp I5jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=OS7KOL3Z; 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 c15si9329972pgu.316.2017.12.10.21.10.33; Sun, 10 Dec 2017 21:10:33 -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=OS7KOL3Z; 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 S1752720AbdLKFK3 (ORCPT <rfc822; dan.rue@linaro.org> + 24 others); Mon, 11 Dec 2017 00:10:29 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:45572 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751622AbdLKFKX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 11 Dec 2017 00:10:23 -0500 Received: by mail-pg0-f65.google.com with SMTP id m25so10141739pgv.12; Sun, 10 Dec 2017 21:10:23 -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=OS7KOL3ZUJgEVtGKO7EForiF0sdt7xsqFHxnWLMS4X1qT+NEEvAC6AzgqM3riSFn2C eW/hASQtls71h2X9+sDFkIrv7lUZjObDjAhhGNtYBF3Gb0+bbb0D9rXoI4uqWRGEanj5 D9MclSFNVazpx0W490FDe+kK8cdUkXyBxl1Gvfi4hm9xvIuU7cnsop3z0D5hHYBIEEYj rJC8Kem83zjtG/Wke5dS5r+nOgT7PdRoitRA7d47QlJjMID4POomlTr9HxNpdBlW5gEK eVTE75bY5VKklWEMzrmrMI5xOU2djrHDXnJPRv5wHMjdtmOwmKoQW0lNvDpNgKTqdZ/5 tAvw== 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=qabol/+ZHX8TdFv69Zr7vcA2/gJ1BbfKCGPj5aUeFPRNg2VxxCnfOPaHwwz96swCm/ IcR8hmqEuYkM/HkiJPTqKgsx9Y2Alw5otvPsdM/QyvNkU6wo60aXYRwU3itwtdcqb3/4 DFzhksKZ21dWM1IdwSa37VxG+raTArcWJMZ14eJWDC5+ifdkE59fIhDK+VcSydPa9KON Pp8UjklTHGn3EFQnwv/esZQHr/+hg/6aOq84c9dc5NwJVjCNJpOTRcKtgLhP3Wtv8dhg A7tMVwCjkcW6S/MMaHrOR0pDYWDmpN9xQLWnGTaJRw+WSOgSYaBLahPJPh+iY64l/Xw/ tgOA== X-Gm-Message-State: AJaThX7NL47TWQFSx6SrLFKE9EKpotS28XKGGMiBa14gPlpnXDMl7K0n TJ5Dwx/NBmhzzSBM9jvrv0o= X-Received: by 10.84.229.5 with SMTP id b5mr38372686plk.405.1512969022509; Sun, 10 Dec 2017 21:10:22 -0800 (PST) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id q69sm23452550pfa.161.2017.12.10.21.10.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 10 Dec 2017 21:10:21 -0800 (PST) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Mon, 11 Dec 2017 15:40:13 +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 14/20] ARM: dts: Add OpenBMC flash layout Date: Mon, 11 Dec 2017 15:36:58 +1030 Message-Id: <20171211050704.20621-15-joel@jms.id.au> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171211050704.20621-1-joel@jms.id.au> References: <20171211050704.20621-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