ARM: dts: Fix OpenBMC flash layout label addresses
authorZev Weiss <zev@bewilderbeest.net>
Wed, 5 Jan 2022 00:37:18 +0000 (16:37 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:23:15 +0000 (14:23 +0200)
[ Upstream commit e011df3579ac980d840db8e8c3b9431f88ebddab ]

We've ended up with some inconsistencies between the addresses in the
DT node labels and the actual offsets of the partitions; this brings
them back in sync.

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Fixes: 529022738c8e ("ARM: dts: Add OpenBMC flash layout")
Fixes: 8dec60e7b8d0 ("ARM: dts: aspeed: Grow u-boot partition 64MiB OpenBMC flash layout")
Reviewed-by: Lei YU <yulei.sh@bytedance.com>
Link: https://lore.kernel.org/r/20220105003718.19888-1-zev@bewilderbeest.net
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/openbmc-flash-layout-64.dtsi
arch/arm/boot/dts/openbmc-flash-layout.dtsi

index 31f59de5190b8ed7d7d4b5661506ec8b473e1f93..7af41361c4800199fcfc0c083c300c0fbb2dbd19 100644 (file)
@@ -28,7 +28,7 @@ partitions {
                label = "rofs";
        };
 
-       rwfs@6000000 {
+       rwfs@2a00000 {
                reg = <0x2a00000 0x1600000>; // 22MB
                label = "rwfs";
        };
index 6c26524e93e118111d6f96f222ce947f568d488e..b47e14063c3800e3a75fc64af62a16ea07c2c764 100644 (file)
@@ -20,7 +20,7 @@ partitions {
                label = "kernel";
        };
 
-       rofs@c0000 {
+       rofs@4c0000 {
                reg = <0x4c0000 0x1740000>;
                label = "rofs";
        };