Skip to contentSkip to conversation

ARM: dts: aspeed: wedge400: Fix FMC flash0 layout

PATCH In review [email protected] 2 participants 2 messages Nov 10, 2020 – Nov 16, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: aspeed: wedge400: Fix FMC flash0 layout

From: Tao Ren <[email protected]>

Update "data0" partition's size from 8MB to 4MB to fix "partition data0 extends beyond the end of device" warning at bootup time.

---
 arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts +2 -2
index ad1fcad3676c..63a3dd548f30 100644
@@ -124,8 +124,8 @@
 		 * "data0" partition (4MB) is reserved for persistent
 		 * data store.
 		 */
-		data0 at 3800000 {
-			reg = <0x7c00000 0x800000>;
+		data0 at 7c00000 {
+			reg = <0x7c00000 0x400000>;
 			label = "data0";
 		};
 
Signature · 1 line
2.17.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · On Tue, 10 Nov 2020 at 07:22, <[email protected]> wrote:

From: Tao Ren <[email protected]>

Update "data0" partition's size from 8MB to 4MB to fix "partition data0 extends beyond the end of device" warning at bootup time.

Thanks for testing :)

Quoted 1 line

I will apply for 5.11.

Quoted 22 lines
---
 arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts +2 -3
index ad1fcad3676c..63a3dd548f30 100644
@@ -124,8 +124,8 @@
                 * "data0" partition (4MB) is reserved for persistent
                 * data store.
                 */
-               data0 at 3800000 {
-                       reg = <0x7c00000 0x800000>;
+               data0 at 7c00000 {
+                       reg = <0x7c00000 0x400000>;
                        label = "data0";
                };
 
--

2.17.1