2020-11-10 07:24:34

by Tao Ren

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Tao Ren <[email protected]>
---
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


2020-11-16 04:33:03

by Joel Stanley

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: aspeed: wedge400: Fix FMC flash0 layout

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 :)

> Signed-off-by: Tao Ren <[email protected]>

Reviewed-by: Joel Stanley <[email protected]>

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
>