All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: kirkwood: Fix Openblock A6 nand partition overlap
@ 2017-06-16 12:39 Peter Korsgaard
  2017-06-17  7:09 ` Gregory CLEMENT
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Korsgaard @ 2017-06-16 12:39 UTC (permalink / raw)
  To: linux-arm-kernel

The "test" and "conf" nand partitions partly overlap:

Creating 6 MTD partitions on "orion_nand":
0x000000000000-0x000000090000 : "uboot"
0x000000090000-0x0000000d4000 : "env"
0x0000000d4000-0x0000000f8000 : "test"
0x0000000f4000-0x0000004f4000 : "conf"

That is unlikely to be desired, and not matching the partition map used in
u-boot - So adjust the test partition size to fix this.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 arch/arm/boot/dts/kirkwood-openblocks_a6.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
index 94e49f32d5f9..c75da5f0ca48 100644
--- a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
+++ b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
@@ -141,7 +141,7 @@
 
 	partition at d4000 {
 		label = "test";
-		reg = <0xd4000 0x24000>;
+		reg = <0xd4000 0x20000>;
 	};
 
 	partition at f4000 {
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: dts: kirkwood: Fix Openblock A6 nand partition overlap
  2017-06-16 12:39 [PATCH] ARM: dts: kirkwood: Fix Openblock A6 nand partition overlap Peter Korsgaard
@ 2017-06-17  7:09 ` Gregory CLEMENT
  0 siblings, 0 replies; 2+ messages in thread
From: Gregory CLEMENT @ 2017-06-17  7:09 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Peter,
 
 On ven., juin 16 2017, Peter Korsgaard <peter@korsgaard.com> wrote:

> The "test" and "conf" nand partitions partly overlap:
>
> Creating 6 MTD partitions on "orion_nand":
> 0x000000000000-0x000000090000 : "uboot"
> 0x000000090000-0x0000000d4000 : "env"
> 0x0000000d4000-0x0000000f8000 : "test"
> 0x0000000f4000-0x0000004f4000 : "conf"
>
> That is unlikely to be desired, and not matching the partition map used in
> u-boot - So adjust the test partition size to fix this.
>
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Applied on mvebu/fixes

Thanks,

Gregory

> ---
>  arch/arm/boot/dts/kirkwood-openblocks_a6.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
> index 94e49f32d5f9..c75da5f0ca48 100644
> --- a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
> +++ b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
> @@ -141,7 +141,7 @@
>  
>  	partition at d4000 {
>  		label = "test";
> -		reg = <0xd4000 0x24000>;
> +		reg = <0xd4000 0x20000>;
>  	};
>  
>  	partition at f4000 {
> -- 
> 2.11.0
>

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-17  7:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-16 12:39 [PATCH] ARM: dts: kirkwood: Fix Openblock A6 nand partition overlap Peter Korsgaard
2017-06-17  7:09 ` Gregory CLEMENT

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.