From: Adriana Kobylak <anoo@linux.ibm.com>
To: linux-aspeed@lists.ozlabs.org
Subject: [PATCH v2] ARM: dts: Aspeed: Witherspoon: Update BMC partitioning
Date: Wed, 3 Apr 2019 11:59:11 -0500 [thread overview]
Message-ID: <1554310751-52446-1-git-send-email-anoo@linux.ibm.com> (raw)
In-Reply-To: <962b866599ac4dfd866d7433b7ddb276@linux.vnet.ibm.com>
From: "Edward A. James" <eajames@us.ibm.com>
Add simplified partitions for BMC and alternate flash. Include these by
default in Witherspoon.
Signed-off-by: Edward A. James <eajames@us.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
---
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 37 ++++++++++++++++++++++--
1 file changed, 35 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
index 1cdc96d..82f63aa 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
@@ -194,14 +194,47 @@
label = "bmc";
m25p,fast-read;
spi-max-frequency = <50000000>;
-#include "openbmc-flash-layout.dtsi"
+ partitions {
+ #address-cells = < 1 >;
+ #size-cells = < 1 >;
+ compatible = "fixed-partitions";
+ u-boot at 0 {
+ reg = < 0 0x60000 >;
+ label = "u-boot";
+ };
+ u-boot-env at 60000 {
+ reg = < 0x60000 0x20000 >;
+ label = "u-boot-env";
+ };
+ obmc-ubi at 80000 {
+ reg = < 0x80000 0x1F80000 >;
+ label = "obmc-ubi";
+ };
+ };
};
flash at 1 {
status = "okay";
- label = "alt";
+ label = "alt-bmc";
m25p,fast-read;
spi-max-frequency = <50000000>;
+ partitions {
+ #address-cells = < 1 >;
+ #size-cells = < 1 >;
+ compatible = "fixed-partitions";
+ u-boot at 0 {
+ reg = < 0 0x60000 >;
+ label = "alt-u-boot";
+ };
+ u-boot-env at 60000 {
+ reg = < 0x60000 0x20000 >;
+ label = "alt-u-boot-env";
+ };
+ obmc-ubi at 80000 {
+ reg = < 0x80000 0x1F80000 >;
+ label = "alt-obmc-ubi";
+ };
+ };
};
};
--
1.8.3.1
WARNING: multiple messages have this Message-ID (diff)
From: Adriana Kobylak <anoo@linux.ibm.com>
To: joel@jms.id.au, linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org
Cc: "Edward A. James" <eajames@us.ibm.com>,
Adriana Kobylak <anoo@us.ibm.com>
Subject: [PATCH v2] ARM: dts: Aspeed: Witherspoon: Update BMC partitioning
Date: Wed, 3 Apr 2019 11:59:11 -0500 [thread overview]
Message-ID: <1554310751-52446-1-git-send-email-anoo@linux.ibm.com> (raw)
In-Reply-To: <962b866599ac4dfd866d7433b7ddb276@linux.vnet.ibm.com>
From: "Edward A. James" <eajames@us.ibm.com>
Add simplified partitions for BMC and alternate flash. Include these by
default in Witherspoon.
Signed-off-by: Edward A. James <eajames@us.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
---
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 37 ++++++++++++++++++++++--
1 file changed, 35 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
index 1cdc96d..82f63aa 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
@@ -194,14 +194,47 @@
label = "bmc";
m25p,fast-read;
spi-max-frequency = <50000000>;
-#include "openbmc-flash-layout.dtsi"
+ partitions {
+ #address-cells = < 1 >;
+ #size-cells = < 1 >;
+ compatible = "fixed-partitions";
+ u-boot@0 {
+ reg = < 0 0x60000 >;
+ label = "u-boot";
+ };
+ u-boot-env@60000 {
+ reg = < 0x60000 0x20000 >;
+ label = "u-boot-env";
+ };
+ obmc-ubi@80000 {
+ reg = < 0x80000 0x1F80000 >;
+ label = "obmc-ubi";
+ };
+ };
};
flash@1 {
status = "okay";
- label = "alt";
+ label = "alt-bmc";
m25p,fast-read;
spi-max-frequency = <50000000>;
+ partitions {
+ #address-cells = < 1 >;
+ #size-cells = < 1 >;
+ compatible = "fixed-partitions";
+ u-boot@0 {
+ reg = < 0 0x60000 >;
+ label = "alt-u-boot";
+ };
+ u-boot-env@60000 {
+ reg = < 0x60000 0x20000 >;
+ label = "alt-u-boot-env";
+ };
+ obmc-ubi@80000 {
+ reg = < 0x80000 0x1F80000 >;
+ label = "alt-obmc-ubi";
+ };
+ };
};
};
--
1.8.3.1
next prev parent reply other threads:[~2019-04-03 16:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-12 16:50 [PATCH] ARM: dts: Aspeed: Witherspoon: Update BMC partitioning Adriana Kobylak
2019-03-12 16:50 ` Adriana Kobylak
2019-03-12 23:21 ` Andrew Jeffery
2019-03-12 23:21 ` Andrew Jeffery
2019-03-27 6:20 ` Joel Stanley
2019-03-27 6:20 ` Joel Stanley
2019-03-27 15:10 ` Eddie James
2019-03-27 15:10 ` Eddie James
2019-04-03 15:51 ` Adriana Kobylak
2019-04-03 15:51 ` Adriana Kobylak
2019-04-03 16:59 ` Adriana Kobylak [this message]
2019-04-03 16:59 ` [PATCH v2] " Adriana Kobylak
2019-04-03 17:02 ` Cédric Le Goater
2019-04-03 17:02 ` Cédric Le Goater
2019-04-04 0:34 ` Andrew Jeffery
2019-04-04 0:34 ` Andrew Jeffery
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1554310751-52446-1-git-send-email-anoo@linux.ibm.com \
--to=anoo@linux.ibm.com \
--cc=linux-aspeed@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.