diff mbox

[v2] ARM: mach-imx: Kconfig: Remove IMX_HAVE_PLATFORM_IMX2_WDT from SOC_IMX53

Message ID 1393021300-5964-1-git-send-email-festevam@gmail.com
State New
Headers show

Commit Message

Fabio Estevam Feb. 21, 2014, 10:21 p.m. UTC
From: Fabio Estevam <fabio.estevam@freescale.com>

SOC_IMX53 is a device-tree only platform, so we don't need 
IMX_HAVE_PLATFORM_IMX2_WDT at all because this symbol only provides some code 
to help register imx2-wdt platform devices.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v1:
- Improve commit log as per Uwe's suggestion

 arch/arm/mach-imx/Kconfig | 1 -
 1 file changed, 1 deletion(-)

Comments

Uwe Kleine-König Feb. 22, 2014, 2:11 p.m. UTC | #1
On Fri, Feb 21, 2014 at 07:21:40PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> SOC_IMX53 is a device-tree only platform, so we don't need 
> IMX_HAVE_PLATFORM_IMX2_WDT at all because this symbol only provides some code 
> to help register imx2-wdt platform devices.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

thanks
Uwe
> ---
> Changes since v1:
> - Improve commit log as per Uwe's suggestion
> 
>  arch/arm/mach-imx/Kconfig | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
> index 04aa1de..d75d168 100644
> --- a/arch/arm/mach-imx/Kconfig
> +++ b/arch/arm/mach-imx/Kconfig
> @@ -780,7 +780,6 @@ config	SOC_IMX50
>  config	SOC_IMX53
>  	bool "i.MX53 support"
>  	select HAVE_IMX_SRC
> -	select IMX_HAVE_PLATFORM_IMX2_WDT
>  	select PINCTRL_IMX53
>  	select SOC_IMX5
>  
> -- 
> 1.8.1.2
> 
>
Shawn Guo Feb. 24, 2014, 2:11 a.m. UTC | #2
On Fri, Feb 21, 2014 at 07:21:40PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> SOC_IMX53 is a device-tree only platform, so we don't need 
> IMX_HAVE_PLATFORM_IMX2_WDT at all because this symbol only provides some code 
> to help register imx2-wdt platform devices.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Applied, thanks.
diff mbox

Patch

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 04aa1de..d75d168 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -780,7 +780,6 @@  config	SOC_IMX50
 config	SOC_IMX53
 	bool "i.MX53 support"
 	select HAVE_IMX_SRC
-	select IMX_HAVE_PLATFORM_IMX2_WDT
 	select PINCTRL_IMX53
 	select SOC_IMX5