From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adriana Kobylak Date: Wed, 3 Apr 2019 11:59:11 -0500 Subject: [PATCH v2] ARM: dts: Aspeed: Witherspoon: Update BMC partitioning In-Reply-To: <962b866599ac4dfd866d7433b7ddb276@linux.vnet.ibm.com> References: <962b866599ac4dfd866d7433b7ddb276@linux.vnet.ibm.com> Message-ID: <1554310751-52446-1-git-send-email-anoo@linux.ibm.com> List-Id: To: linux-aspeed@lists.ozlabs.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: "Edward A. James" Add simplified partitions for BMC and alternate flash. Include these by default in Witherspoon. Signed-off-by: Edward A. James Signed-off-by: Joel Stanley Signed-off-by: Adriana Kobylak --- 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