diff mbox

ARM: kirkwood: ib62x0: fix size of u-boot environment partition

Message ID 1471021970-21248-1-git-send-email-gmbnomis@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Simon Baatz Aug. 12, 2016, 5:12 p.m. UTC
Commit 148c274ea644 ("ARM: kirkwood: ib62x0: add u-boot environment
partition") split the "u-boot" partition into "u-boot" and "u-boot
environment".  However, instead of the size of the environment, an offset
was given, resulting in overlapping partitions.

Signed-off-by: Simon Baatz <gmbnomis@gmail.com>
Fixes: 148c274ea644 ("ARM: kirkwood: ib62x0: add u-boot environment partition")
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Luka Perkov <luka@openwrt.org>
Cc: stable@vger.kernel.org # 3.13+
---
 arch/arm/boot/dts/kirkwood-ib62x0.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andrew Lunn Aug. 15, 2016, 9:03 p.m. UTC | #1
On Fri, Aug 12, 2016 at 07:12:50PM +0200, Simon Baatz wrote:
> Commit 148c274ea644 ("ARM: kirkwood: ib62x0: add u-boot environment
> partition") split the "u-boot" partition into "u-boot" and "u-boot
> environment".  However, instead of the size of the environment, an offset
> was given, resulting in overlapping partitions.
> 
> Signed-off-by: Simon Baatz <gmbnomis@gmail.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Gregory CLEMENT Aug. 26, 2016, 9:32 a.m. UTC | #2
Hi Simpn,
 
 On lun., août 15 2016, Andrew Lunn <andrew@lunn.ch> wrote:

> On Fri, Aug 12, 2016 at 07:12:50PM +0200, Simon Baatz wrote:
>> Commit 148c274ea644 ("ARM: kirkwood: ib62x0: add u-boot environment
>> partition") split the "u-boot" partition into "u-boot" and "u-boot
>> environment".  However, instead of the size of the environment, an offset
>> was given, resulting in overlapping partitions.
>> 
>> Signed-off-by: Simon Baatz <gmbnomis@gmail.com>
>
> Reviewed-by: Andrew Lunn <andrew@lunn.ch>


Applied on mvebu/fixes

Thanks,

Gregory

>
>     Andrew
diff mbox

Patch

diff --git a/arch/arm/boot/dts/kirkwood-ib62x0.dts b/arch/arm/boot/dts/kirkwood-ib62x0.dts
index ef84d8699a76..5bf62897014c 100644
--- a/arch/arm/boot/dts/kirkwood-ib62x0.dts
+++ b/arch/arm/boot/dts/kirkwood-ib62x0.dts
@@ -113,7 +113,7 @@ 
 
 	partition@e0000 {
 		label = "u-boot environment";
-		reg = <0xe0000 0x100000>;
+		reg = <0xe0000 0x20000>;
 	};
 
 	partition@100000 {