* [PATCH] ARM: dts: Add openbmc-flash-layout-64-alt.dtsi
@ 2021-12-10 9:34 Lei YU
2021-12-15 17:05 ` Patrick Williams
0 siblings, 1 reply; 2+ messages in thread
From: Lei YU @ 2021-12-10 9:34 UTC (permalink / raw)
To: linux-aspeed
Add openbmc-flash-layout-64-alt.dtsi to describe the partitions of the
secondary flash for OpenBMC's 64M static layout.
The layout is the same as openbmc-flash-layout-64.dtsi and the labels
are prepended with "alt-" for the partitions.
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
---
.../boot/dts/openbmc-flash-layout-64-alt.dtsi | 35 +++++++++++++++++++
1 file changed, 35 insertions(+)
create mode 100644 arch/arm/boot/dts/openbmc-flash-layout-64-alt.dtsi
diff --git a/arch/arm/boot/dts/openbmc-flash-layout-64-alt.dtsi b/arch/arm/boot/dts/openbmc-flash-layout-64-alt.dtsi
new file mode 100644
index 000000000000..650525867561
--- /dev/null
+++ b/arch/arm/boot/dts/openbmc-flash-layout-64-alt.dtsi
@@ -0,0 +1,35 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2020 Bytedance.
+ */
+
+partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ u-boot at 0 {
+ reg = <0x0 0xe0000>; // 896KB
+ label = "alt-u-boot";
+ };
+
+ u-boot-env at e0000 {
+ reg = <0xe0000 0x20000>; // 128KB
+ label = "alt-u-boot-env";
+ };
+
+ kernel at 100000 {
+ reg = <0x100000 0x900000>; // 9MB
+ label = "alt-kernel";
+ };
+
+ rofs at a00000 {
+ reg = <0xa00000 0x2000000>; // 32MB
+ label = "alt-rofs";
+ };
+
+ rwfs at 6000000 {
+ reg = <0x2a00000 0x1600000>; // 22MB
+ label = "alt-rwfs";
+ };
+};
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: dts: Add openbmc-flash-layout-64-alt.dtsi
2021-12-10 9:34 [PATCH] ARM: dts: Add openbmc-flash-layout-64-alt.dtsi Lei YU
@ 2021-12-15 17:05 ` Patrick Williams
0 siblings, 0 replies; 2+ messages in thread
From: Patrick Williams @ 2021-12-15 17:05 UTC (permalink / raw)
To: linux-aspeed
On Fri, Dec 10, 2021 at 05:34:43PM +0800, Lei YU wrote:
> Add openbmc-flash-layout-64-alt.dtsi to describe the partitions of the
> secondary flash for OpenBMC's 64M static layout.
> The layout is the same as openbmc-flash-layout-64.dtsi and the labels
> are prepended with "alt-" for the partitions.
>
> Signed-off-by: Lei YU <yulei.sh@bytedance.com>
> ---
> .../boot/dts/openbmc-flash-layout-64-alt.dtsi | 35 +++++++++++++++++++
> 1 file changed, 35 insertions(+)
> create mode 100644 arch/arm/boot/dts/openbmc-flash-layout-64-alt.dtsi
>
Reviewed-by: Patrick Williams <patrick@stwcx.xyz>
--
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20211215/82a4e8d2/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-15 17:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-10 9:34 [PATCH] ARM: dts: Add openbmc-flash-layout-64-alt.dtsi Lei YU
2021-12-15 17:05 ` Patrick Williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox