Patchwork ARM: mx50: Select IMX_HAVE_PLATFORM_FEC as done on other i.MX devices

login
register
mail settings
Submitter Fabio Estevam
Date July 25, 2011, 7:25 p.m.
Message ID <1311621941-4227-1-git-send-email-festevam@gmail.com>
Download mbox | patch
Permalink /patch/106737/
State New
Headers show

Comments

Fabio Estevam - July 25, 2011, 7:25 p.m.
Currently it is only the MX50_RDP board that selects IMX_HAVE_PLATFORM_FEC in its board Kconfig.

Do like the other i.MX processors, which select IMX_HAVE_PLATFORM_FEC based on the processor type.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/mach-mx5/Kconfig         |    1 -
 arch/arm/plat-mxc/devices/Kconfig |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)
Uwe Kleine-König - July 25, 2011, 9:14 p.m.
Hello Fabio,

On Mon, Jul 25, 2011 at 04:25:41PM -0300, Fabio Estevam wrote:
> -	default y if ARCH_MX25 || SOC_IMX27 || SOC_IMX35 || SOC_IMX51 || SOC_IMX53
> +	default y if ARCH_MX25 || SOC_IMX27 || SOC_IMX35 || SOC_IMX51 || SOC_IMX53 || SOC_IMX50
Maybe add i.MX50 between 35 and 51? I don't care much though.

Uwe
Sascha Hauer - July 26, 2011, 7:41 a.m.
On Mon, Jul 25, 2011 at 11:14:00PM +0200, Uwe Kleine-König wrote:
> Hello Fabio,
> 
> On Mon, Jul 25, 2011 at 04:25:41PM -0300, Fabio Estevam wrote:
> > -	default y if ARCH_MX25 || SOC_IMX27 || SOC_IMX35 || SOC_IMX51 || SOC_IMX53
> > +	default y if ARCH_MX25 || SOC_IMX27 || SOC_IMX35 || SOC_IMX51 || SOC_IMX53 || SOC_IMX50
> Maybe add i.MX50 between 35 and 51? I don't care much though.

Me neither. Applied.

Sascha

Patch

diff --git a/arch/arm/mach-mx5/Kconfig b/arch/arm/mach-mx5/Kconfig
index b4e7c58..a303445 100644
--- a/arch/arm/mach-mx5/Kconfig
+++ b/arch/arm/mach-mx5/Kconfig
@@ -52,7 +52,6 @@  config MACH_MX50_RDP
 	select IMX_HAVE_PLATFORM_IMX_UART
 	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
 	select IMX_HAVE_PLATFORM_SPI_IMX
-	select IMX_HAVE_PLATFORM_FEC
 	help
 	  Include support for MX50 reference design platform (RDP) board. This
 	  includes specific configurations for the board and its peripherals.
diff --git a/arch/arm/plat-mxc/devices/Kconfig b/arch/arm/plat-mxc/devices/Kconfig
index bd294ad..4c8b00b 100644
--- a/arch/arm/plat-mxc/devices/Kconfig
+++ b/arch/arm/plat-mxc/devices/Kconfig
@@ -1,6 +1,6 @@ 
 config IMX_HAVE_PLATFORM_FEC
 	bool
-	default y if ARCH_MX25 || SOC_IMX27 || SOC_IMX35 || SOC_IMX51 || SOC_IMX53
+	default y if ARCH_MX25 || SOC_IMX27 || SOC_IMX35 || SOC_IMX51 || SOC_IMX53 || SOC_IMX50
 
 config IMX_HAVE_PLATFORM_FLEXCAN
 	select HAVE_CAN_FLEXCAN if CAN