Patchwork [3/3] imx: efika: Enable pata.

login
register
mail settings
Submitter Arnaud Patard (Rtp)
Date July 22, 2011, 10:37 a.m.
Message ID <20110722103835.789665360@rtp-net.org>
Download mbox | patch
Permalink /patch/106252/
State New
Headers show

Comments

Arnaud Patard (Rtp) - July 22, 2011, 10:37 a.m.
Enable pata support on efika mx/sb platforms.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>

Patch

Index: linux-2.6-submit/arch/arm/mach-mx5/Kconfig
===================================================================
--- linux-2.6-submit.orig/arch/arm/mach-mx5/Kconfig	2011-07-20 23:03:44.000000000 +0200
+++ linux-2.6-submit/arch/arm/mach-mx5/Kconfig	2011-07-22 10:20:08.000000000 +0200
@@ -147,6 +147,7 @@  config MX51_EFIKA_COMMON
 	bool
 	select SOC_IMX51
 	select IMX_HAVE_PLATFORM_IMX2_WDT
+	select IMX_HAVE_PLATFORM_IMX_PATA
 	select IMX_HAVE_PLATFORM_IMX_UART
 	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
 	select IMX_HAVE_PLATFORM_SPI_IMX
Index: linux-2.6-submit/arch/arm/mach-mx5/mx51_efika.c
===================================================================
--- linux-2.6-submit.orig/arch/arm/mach-mx5/mx51_efika.c	2011-07-20 23:03:44.000000000 +0200
+++ linux-2.6-submit/arch/arm/mach-mx5/mx51_efika.c	2011-07-22 10:20:08.000000000 +0200
@@ -629,6 +629,8 @@  void __init efika_board_common_init(void
 		ARRAY_SIZE(mx51_efika_spi_board_info));
 	imx51_add_ecspi(0, &mx51_efika_spi_pdata);
 
+	imx51_add_mxc_pata();
+
 #if defined(CONFIG_CPU_FREQ_IMX)
 	get_cpu_op = mx51_get_cpu_op;
 #endif