[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140227214737.GL1872@titan.lakedaemon.net>
Date: Thu, 27 Feb 2014 16:47:37 -0500
From: Jason Cooper <jason@...edaemon.net>
To: Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>
Cc: Rob Herring <robh+dt@...nel.org>, Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Russell King <linux@....linux.org.uk>,
Andrew Lunn <andrew@...n.ch>,
Gregory Clement <gregory.clement@...e-electrons.com>,
Kishon Vijay Abraham I <kishon@...com>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/4] ARM: mvebu: move DT Dove to MVEBU
On Thu, Feb 27, 2014 at 10:43:59PM +0100, Sebastian Hesselbarth wrote:
> On 02/27/2014 10:40 PM, Jason Cooper wrote:
> >On Thu, Feb 27, 2014 at 10:28:04PM +0100, Sebastian Hesselbarth wrote:
> >>With all the DT support preparation done, we are able to move Dove
> >>to MVEBU easily. Legacy non-DT mach-dove is left untouched to rot
> >>for a while before removal. Also, convert SATA PHY Kconfig entry,
> >>which is DT-only.
> >>
> >>Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>
> >>---
> >>Cc: Rob Herring <robh+dt@...nel.org>
> >>Cc: Pawel Moll <pawel.moll@....com>
> >>Cc: Mark Rutland <mark.rutland@....com>
> >>Cc: Ian Campbell <ijc+devicetree@...lion.org.uk>
> >>Cc: Kumar Gala <galak@...eaurora.org>
> >>Cc: Russell King <linux@....linux.org.uk>
> >>Cc: Jason Cooper <jason@...edaemon.net>
> >>Cc: Andrew Lunn <andrew@...n.ch>
> >>Cc: Gregory Clement <gregory.clement@...e-electrons.com>
> >>Cc: Kishon Vijay Abraham I <kishon@...com>
> >>Cc: devicetree@...r.kernel.org
> >>Cc: linux-arm-kernel@...ts.infradead.org
> >>Cc: linux-kernel@...r.kernel.org
> >>---
> >> arch/arm/boot/dts/Makefile | 12 ++++++------
> >> arch/arm/mach-dove/Kconfig | 12 ------------
> >> arch/arm/mach-dove/Makefile | 1 -
> >> arch/arm/mach-mvebu/Kconfig | 12 ++++++++++++
> >> arch/arm/mach-mvebu/Makefile | 1 +
> >> arch/arm/{mach-dove/board-dt.c => mach-mvebu/dove.c} | 20 ++++++++------------
> >> drivers/phy/Kconfig | 2 +-
> >> 7 files changed, 28 insertions(+), 32 deletions(-)
> >> rename arch/arm/{mach-dove/board-dt.c => mach-mvebu/dove.c} (61%)
> >>
> >>diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> >>index 032030361bef..376a2573e500 100644
> >>--- a/arch/arm/boot/dts/Makefile
> >>+++ b/arch/arm/boot/dts/Makefile
> >>@@ -55,11 +55,6 @@ dtb-$(CONFIG_ARCH_BERLIN) += \
> >> berlin2cd-google-chromecast.dtb
> >> dtb-$(CONFIG_ARCH_DAVINCI) += da850-enbw-cmc.dtb \
> >> da850-evm.dtb
> >>-dtb-$(CONFIG_ARCH_DOVE) += dove-cm-a510.dtb \
> >>- dove-cubox.dtb \
> >>- dove-d2plug.dtb \
> >>- dove-d3plug.dtb \
> >>- dove-dove-db.dtb
> >> dtb-$(CONFIG_ARCH_EFM32) += efm32gg-dk3750.dtb
> >> dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \
> >> exynos4210-smdkv310.dtb \
> >>@@ -132,7 +127,12 @@ dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \
> >> armada-xp-gp.dtb \
> >> armada-xp-netgear-rn2120.dtb \
> >> armada-xp-matrix.dtb \
> >>- armada-xp-openblocks-ax3-4.dtb
> >>+ armada-xp-openblocks-ax3-4.dtb \
> >>+ dove-cm-a510.dtb \
> >>+ dove-cubox.dtb \
> >>+ dove-d2plug.dtb \
> >>+ dove-d3plug.dtb \
> >>+ dove-dove-db.dtb
> >
> >This is going to conflict badly with
> >
> > a02dd0271d01 ARM: mvebu: select dtbs from MACH_ARMADA_*
> >
> >Perhaps you could mimic what Andrew did in his series:
> >
> >dove := dove-cm-a510.dtb \
> > dove-cubox.dtb \
> > dove-d2plug.dtb \
> > dove-d3plug.dtb \
> > dove-dove-db.dtb
> >dtb-$(CONFIG_ARCH_DOVE) += $(dove)
> >dtb-$(CONFIG_MACH_DOVE) += $(dove)
>
> Ok, will do - except dtb-$(CONFIG_ARCH_DOVE) above.. there is no
> DT in ARCH_DOVE after this patch.
Ok, then there's no need for 'dove :=', just s/ARCH_DOVE/MACH_DOVE/ on
the original without movement.
thx,
Jason.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists