summaryrefslogtreecommitdiff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorVernon Mauery <vernon.mauery@intel.com>2018-06-04 23:45:42 +0300
committerJae Hyun Yoo <jae.hyun.yoo@linux.intel.com>2021-11-05 10:22:06 +0300
commit503e54b1b425e1cff14889aa08b3b4c84bc37965 (patch)
tree4ca113d3be52022cb2830f0ade33fde0118c401c /arch/arm/boot
parent1b497a39b0e5dd8f9b6cd86fef45ef35887313c1 (diff)
downloadlinux-503e54b1b425e1cff14889aa08b3b4c84bc37965.tar.xz
New flash map for intel
Signed-off-by: Vernon Mauery <vernon.mauery@intel.com> Signed-off-by: Vikram Bodireddy <vikram.bodireddy@intel.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/openbmc-flash-layout-intel-128MB.dtsi50
-rw-r--r--arch/arm/boot/dts/openbmc-flash-layout-intel-64MB.dtsi38
2 files changed, 88 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/openbmc-flash-layout-intel-128MB.dtsi b/arch/arm/boot/dts/openbmc-flash-layout-intel-128MB.dtsi
new file mode 100644
index 000000000000..0d3794423aed
--- /dev/null
+++ b/arch/arm/boot/dts/openbmc-flash-layout-intel-128MB.dtsi
@@ -0,0 +1,50 @@
+// SPDX-License-Identifier: GPL-2.0+
+// 128MB flash layout: PFR (active + tmp1/tmp2 + extra)
+// image with common RW partition
+
+partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ u-boot@0 {
+ reg = <0x0 0x80000>;
+ label = "u-boot";
+ };
+
+ pfm@80000 {
+ reg = <0x80000 0x20000>;
+ label = "pfm";
+ };
+
+ u-boot-env@a0000 {
+ reg = <0xa0000 0x20000>;
+ label = "u-boot-env";
+ };
+
+ sofs@c0000 {
+ reg = <0xc0000 0x200000>;
+ label = "sofs";
+ };
+
+ rwfs@2c0000 {
+ reg = <0x2c0000 0x840000>;
+ label = "rwfs";
+ };
+
+ fit-image-a@b00000 {
+ reg = <0xb00000 0x1f00000>;
+ label = "image-a";
+ };
+
+ rc-image@2a00000 {
+ reg = <0x2a00000 0x2000000>;
+ label = "rc-image";
+ };
+
+ image-staging@4a00000 {
+ reg = <0x4a00000 0x3600000>;
+ label = "image-stg";
+ };
+
+};
diff --git a/arch/arm/boot/dts/openbmc-flash-layout-intel-64MB.dtsi b/arch/arm/boot/dts/openbmc-flash-layout-intel-64MB.dtsi
new file mode 100644
index 000000000000..092708f5021f
--- /dev/null
+++ b/arch/arm/boot/dts/openbmc-flash-layout-intel-64MB.dtsi
@@ -0,0 +1,38 @@
+// SPDX-License-Identifier: GPL-2.0+
+// 64MB flash layout: redundant image with common RW partition
+
+partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ u-boot@0 {
+ reg = <0x0 0x80000>;
+ label = "u-boot";
+ };
+
+ fit-image-a@80000 {
+ reg = <0x80000 0x1b80000>;
+ label = "image-a";
+ };
+
+ sofs@1c00000 {
+ reg = <0x1c00000 0x200000>;
+ label = "sofs";
+ };
+
+ rwfs@1e00000 {
+ reg = <0x1e00000 0x600000>;
+ label = "rwfs";
+ };
+
+ u-boot-env@2400000 {
+ reg = <0x2400000 0x20000>;
+ label = "u-boot-env";
+ };
+
+ fit-image-b@2480000 {
+ reg = <0x2480000 0x1b80000>;
+ label = "image-b";
+ };
+};