[PATCH] ARM: dts: aspeed: wedge400: Fix FMC flash0 layout

rentao.bupt at gmail.com rentao.bupt at gmail.com
Tue Nov 10 18:21:59 AEDT 2020


From: Tao Ren <rentao.bupt at gmail.com>

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

Signed-off-by: Tao Ren <rentao.bupt at gmail.com>
---
 arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts
index ad1fcad3676c..63a3dd548f30 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts
@@ -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



More information about the openbmc mailing list