Joel Stanley | 7b29e20 | 2017-09-05 17:44:33 +1000 | [diff] [blame] | 1 | From 3e0b58ab998209b392a2870124503659245c2483 Mon Sep 17 00:00:00 2001 |
Edward A. James | f7eed37 | 2017-07-14 14:35:56 -0500 | [diff] [blame] | 2 | From: "Edward A. James" <eajames@us.ibm.com> |
| 3 | Date: Wed, 16 Aug 2017 07:58:56 -0500 |
| 4 | Subject: [PATCH] ARM: dts: Aspeed: Witherspoon: Update BMC partitioning |
| 5 | |
| 6 | Add simplified partitions for BMC and alternate flash. Include these by |
| 7 | default in Witherspoon. |
| 8 | |
| 9 | Signed-off-by: Edward A. James <eajames@us.ibm.com> |
Joel Stanley | 7b29e20 | 2017-09-05 17:44:33 +1000 | [diff] [blame] | 10 | Signed-off-by: Joel Stanley <joel@jms.id.au> |
Edward A. James | f7eed37 | 2017-07-14 14:35:56 -0500 | [diff] [blame] | 11 | --- |
| 12 | .../boot/dts/aspeed-bmc-alt-opp-flash-layout-ubi.dtsi | 18 ++++++++++++++++++ |
| 13 | arch/arm/boot/dts/aspeed-bmc-opp-flash-layout-ubi.dtsi | 18 ++++++++++++++++++ |
Joel Stanley | 7b29e20 | 2017-09-05 17:44:33 +1000 | [diff] [blame] | 14 | arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 3 ++- |
| 15 | 3 files changed, 38 insertions(+), 1 deletion(-) |
Edward A. James | f7eed37 | 2017-07-14 14:35:56 -0500 | [diff] [blame] | 16 | create mode 100644 arch/arm/boot/dts/aspeed-bmc-alt-opp-flash-layout-ubi.dtsi |
| 17 | create mode 100644 arch/arm/boot/dts/aspeed-bmc-opp-flash-layout-ubi.dtsi |
| 18 | |
| 19 | diff --git a/arch/arm/boot/dts/aspeed-bmc-alt-opp-flash-layout-ubi.dtsi b/arch/arm/boot/dts/aspeed-bmc-alt-opp-flash-layout-ubi.dtsi |
| 20 | new file mode 100644 |
Joel Stanley | 7b29e20 | 2017-09-05 17:44:33 +1000 | [diff] [blame] | 21 | index 000000000000..927759950023 |
Edward A. James | f7eed37 | 2017-07-14 14:35:56 -0500 | [diff] [blame] | 22 | --- /dev/null |
| 23 | +++ b/arch/arm/boot/dts/aspeed-bmc-alt-opp-flash-layout-ubi.dtsi |
| 24 | @@ -0,0 +1,18 @@ |
| 25 | + label = "alt-bmc"; |
| 26 | + partitions { |
| 27 | + #address-cells = < 1 >; |
| 28 | + #size-cells = < 1 >; |
| 29 | + compatible = "fixed-partitions"; |
| 30 | + u-boot@0 { |
| 31 | + reg = < 0 0x60000 >; |
| 32 | + label = "alt-u-boot"; |
| 33 | + }; |
| 34 | + u-boot-env@60000 { |
| 35 | + reg = < 0x60000 0x20000 >; |
| 36 | + label = "alt-u-boot-env"; |
| 37 | + }; |
| 38 | + obmc-ubi@80000 { |
| 39 | + reg = < 0x80000 0x1F80000 >; |
| 40 | + label = "alt-obmc-ubi"; |
| 41 | + }; |
| 42 | + }; |
| 43 | diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-flash-layout-ubi.dtsi b/arch/arm/boot/dts/aspeed-bmc-opp-flash-layout-ubi.dtsi |
| 44 | new file mode 100644 |
Joel Stanley | 7b29e20 | 2017-09-05 17:44:33 +1000 | [diff] [blame] | 45 | index 000000000000..0059ad16d2ba |
Edward A. James | f7eed37 | 2017-07-14 14:35:56 -0500 | [diff] [blame] | 46 | --- /dev/null |
| 47 | +++ b/arch/arm/boot/dts/aspeed-bmc-opp-flash-layout-ubi.dtsi |
| 48 | @@ -0,0 +1,18 @@ |
| 49 | + label = "bmc"; |
| 50 | + partitions { |
| 51 | + #address-cells = < 1 >; |
| 52 | + #size-cells = < 1 >; |
| 53 | + compatible = "fixed-partitions"; |
| 54 | + u-boot@0 { |
| 55 | + reg = < 0 0x60000 >; |
| 56 | + label = "u-boot"; |
| 57 | + }; |
| 58 | + u-boot-env@60000 { |
| 59 | + reg = < 0x60000 0x20000 >; |
| 60 | + label = "u-boot-env"; |
| 61 | + }; |
| 62 | + obmc-ubi@80000 { |
| 63 | + reg = < 0x80000 0x1F80000 >; |
| 64 | + label = "obmc-ubi"; |
| 65 | + }; |
| 66 | + }; |
| 67 | diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts |
Joel Stanley | 7b29e20 | 2017-09-05 17:44:33 +1000 | [diff] [blame] | 68 | index b24ea9967fc8..0b69aa942e18 100644 |
Edward A. James | f7eed37 | 2017-07-14 14:35:56 -0500 | [diff] [blame] | 69 | --- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts |
| 70 | +++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts |
Joel Stanley | 7b29e20 | 2017-09-05 17:44:33 +1000 | [diff] [blame] | 71 | @@ -182,13 +182,14 @@ |
Edward A. James | f7eed37 | 2017-07-14 14:35:56 -0500 | [diff] [blame] | 72 | status = "okay"; |
Joel Stanley | 7b29e20 | 2017-09-05 17:44:33 +1000 | [diff] [blame] | 73 | label = "bmc"; |
Edward A. James | f7eed37 | 2017-07-14 14:35:56 -0500 | [diff] [blame] | 74 | m25p,fast-read; |
Joel Stanley | d3d5e63 | 2017-12-12 13:27:13 +1030 | [diff] [blame] | 75 | -#include "openbmc-flash-layout.dtsi" |
Edward A. James | f7eed37 | 2017-07-14 14:35:56 -0500 | [diff] [blame] | 76 | +#include "aspeed-bmc-opp-flash-layout-ubi.dtsi" |
| 77 | }; |
Joel Stanley | 7b29e20 | 2017-09-05 17:44:33 +1000 | [diff] [blame] | 78 | |
Edward A. James | f7eed37 | 2017-07-14 14:35:56 -0500 | [diff] [blame] | 79 | flash@1 { |
| 80 | status = "okay"; |
Joel Stanley | 7b29e20 | 2017-09-05 17:44:33 +1000 | [diff] [blame] | 81 | label = "alt"; |
Edward A. James | f7eed37 | 2017-07-14 14:35:56 -0500 | [diff] [blame] | 82 | m25p,fast-read; |
Edward A. James | f7eed37 | 2017-07-14 14:35:56 -0500 | [diff] [blame] | 83 | +#include "aspeed-bmc-alt-opp-flash-layout-ubi.dtsi" |
| 84 | }; |
| 85 | }; |
| 86 | |
| 87 | -- |
Joel Stanley | 7b29e20 | 2017-09-05 17:44:33 +1000 | [diff] [blame] | 88 | 2.15.1 |
Edward A. James | f7eed37 | 2017-07-14 14:35:56 -0500 | [diff] [blame] | 89 | |