[PATCH] Add nand platform on imx27 devicetree

Subsystems: arm port, the rest

STALE5175d

3 messages, 3 authors, 2012-07-08 · open the first message on its own page

[PATCH] Add nand platform on imx27 devicetree

From: Philippe Reynes <hidden>
Date: 2012-07-08 16:29:34

Signed-off-by: Philippe Reynes <redacted>
---
 arch/arm/mach-imx/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index eff4db5..565422b 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -381,6 +381,7 @@ config MACH_IMX27_DT
 	bool "Support i.MX27 platforms from device tree"
 	select SOC_IMX27
 	select USE_OF
+	select IMX_HAVE_PLATFORM_MXC_NAND
 	help
 	  Include support for Freescale i.MX27 based platforms
 	  using the device tree for discovery
-- 
1.7.1

Re: [PATCH] Add nand platform on imx27 devicetree

From: Fabio Estevam <festevam@gmail.com>
Date: 2012-07-08 16:57:39

Hi Philippe,

On Sun, Jul 8, 2012 at 1:29 PM, Philippe Reynes [off-list ref] wrote:
quoted hunk
Signed-off-by: Philippe Reynes <redacted>
---
 arch/arm/mach-imx/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index eff4db5..565422b 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -381,6 +381,7 @@ config MACH_IMX27_DT
        bool "Support i.MX27 platforms from device tree"
        select SOC_IMX27
        select USE_OF
+       select IMX_HAVE_PLATFORM_MXC_NAND
Bu doing this you end up selecting unnecessary code for dt.

I proposed a fix for this already:
http://patchwork.ozlabs.org/patch/168645/

Regards,

Fabio Estevam

Re: [PATCH] Add nand platform on imx27 devicetree

From: Uwe Kleine-König <hidden>
Date: 2012-07-08 19:52:58

Hi,

On Sun, Jul 08, 2012 at 01:57:37PM -0300, Fabio Estevam wrote:
On Sun, Jul 8, 2012 at 1:29 PM, Philippe Reynes [off-list ref] wrote:
quoted
Signed-off-by: Philippe Reynes <redacted>
---
 arch/arm/mach-imx/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index eff4db5..565422b 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -381,6 +381,7 @@ config MACH_IMX27_DT
        bool "Support i.MX27 platforms from device tree"
        select SOC_IMX27
        select USE_OF
+       select IMX_HAVE_PLATFORM_MXC_NAND
Bu doing this you end up selecting unnecessary code for dt.

I proposed a fix for this already:
http://patchwork.ozlabs.org/patch/168645/
I only know understood your explaination why you don't want this patch
instead. So ok, I prefer your patch, too.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help