Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754582AbbK3ORT (ORCPT ); Mon, 30 Nov 2015 09:17:19 -0500 Received: from down.free-electrons.com ([37.187.137.238]:37243 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753512AbbK3ORO (ORCPT ); Mon, 30 Nov 2015 09:17:14 -0500 From: Gregory CLEMENT To: Sebastian Hesselbarth Cc: Mark Rutland , Andrew Lunn , Russell King , Jason Cooper , Pawel Moll , Ian Campbell , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Kumar Gala , Benoit Masson , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 2/4] ARM: dt: mvebu: ix4-300d: move partitions to partition sub-node References: <1448709248-21177-1-git-send-email-sebastian.hesselbarth@gmail.com> <1448709248-21177-3-git-send-email-sebastian.hesselbarth@gmail.com> Date: Mon, 30 Nov 2015 15:17:12 +0100 In-Reply-To: <1448709248-21177-3-git-send-email-sebastian.hesselbarth@gmail.com> (Sebastian Hesselbarth's message of "Sat, 28 Nov 2015 12:14:06 +0100") Message-ID: <87lh9f607r.fsf@free-electrons.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3559 Lines: 132 Hi Sebastian, On sam., nov. 28 2015, Sebastian Hesselbarth wrote: > NAND flash partitions should be part of a partitions sub-node > not the flash node itself. Move the partitions which will also > allow different bootloaders get rid of the stock partitions > easily by removing the partitions node. > > Signed-off-by: Sebastian Hesselbarth Applied on mvebu/dt Thanks, Gregory > --- > Cc: Jason Cooper > Cc: Andrew Lunn > Cc: Gregory Clement > Cc: Rob Herring > Cc: Pawel Moll > Cc: Mark Rutland > Cc: Ian Campbell > Cc: Kumar Gala > Cc: Russell King > Cc: Benoit Masson > Cc: linux-arm-kernel@lists.infradead.org > Cc: devicetree@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > --- > arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts | 67 +++++++++++++------------ > 1 file changed, 36 insertions(+), 31 deletions(-) > > diff --git a/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts b/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts > index 30a0a6eac645..76781fd18624 100644 > --- a/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts > +++ b/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts > @@ -151,37 +151,42 @@ > marvell,nand-enable-arbiter; > nand-on-flash-bbt; > > - partition@0 { > - label = "u-boot"; > - reg = <0x0000000 0xe0000>; > - read-only; > - }; > - > - partition@e0000 { > - label = "u-boot-env"; > - reg = <0xe0000 0x20000>; > - read-only; > - }; > - > - partition@100000 { > - label = "u-boot-env2"; > - reg = <0x100000 0x20000>; > - read-only; > - }; > - > - partition@120000 { > - label = "zImage"; > - reg = <0x120000 0x400000>; > - }; > - > - partition@520000 { > - label = "initrd"; > - reg = <0x520000 0x400000>; > - }; > - > - partition@xE00000 { > - label = "boot"; > - reg = <0xE00000 0x3F200000>; > + partitions { > + #address-cells = <1>; > + #size-cells = <1>; > + > + partition@0 { > + label = "u-boot"; > + reg = <0x0000000 0xe0000>; > + read-only; > + }; > + > + partition@e0000 { > + label = "u-boot-env"; > + reg = <0xe0000 0x20000>; > + read-only; > + }; > + > + partition@100000 { > + label = "u-boot-env2"; > + reg = <0x100000 0x20000>; > + read-only; > + }; > + > + partition@120000 { > + label = "zImage"; > + reg = <0x120000 0x400000>; > + }; > + > + partition@520000 { > + label = "initrd"; > + reg = <0x520000 0x400000>; > + }; > + > + partition@xE00000 { > + label = "boot"; > + reg = <0xE00000 0x3F200000>; > + }; > }; > }; > }; > -- > 2.1.4 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/