diff mbox series

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

Message ID 20201110072159.7941-1-rentao.bupt@gmail.com
State Accepted
Commit c9f6aa9d1f50fa1b6429bfa9cb50648379b1c710
Headers show
Series ARM: dts: aspeed: wedge400: Fix FMC flash0 layout | expand

Commit Message

Tao Ren Nov. 10, 2020, 7:21 a.m. UTC
From: Tao Ren <rentao.bupt@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@gmail.com>
---
 arch/arm/boot/dts/aspeed-bmc-facebook-wedge400.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Joel Stanley Nov. 16, 2020, 3:33 a.m. UTC | #1
On Tue, 10 Nov 2020 at 07:22, <rentao.bupt@gmail.com> wrote:
>

> From: Tao Ren <rentao.bupt@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.


Thanks for testing :)

> Signed-off-by: Tao Ren <rentao.bupt@gmail.com>


Reviewed-by: Joel Stanley <joel@jms.id.au>


I will apply for 5.11.

> ---

>  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@3800000 {

> -                       reg = <0x7c00000 0x800000>;

> +               data0@7c00000 {

> +                       reg = <0x7c00000 0x400000>;

>                         label = "data0";

>                 };

>

> --

> 2.17.1

>
diff mbox series

Patch

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@3800000 {
-			reg = <0x7c00000 0x800000>;
+		data0@7c00000 {
+			reg = <0x7c00000 0x400000>;
 			label = "data0";
 		};