diff mbox

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

Message ID 20110724184014.572285281@rtp-net.org
State New
Headers show

Commit Message

Arnaud Patard (Rtp) July 24, 2011, 6:39 p.m. UTC
Enable pata support on efika mx/sb platforms.

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

Patch

Index: linux-2.6-submit/arch/arm/mach-mx5/Kconfig
===================================================================
--- linux-2.6-submit.orig/arch/arm/mach-mx5/Kconfig	2011-07-22 23:29:06.000000000 +0200
+++ linux-2.6-submit/arch/arm/mach-mx5/Kconfig	2011-07-24 20:35:33.000000000 +0200
@@ -148,6 +148,7 @@  config MX51_EFIKA_COMMON
 	select SOC_IMX51
 	select IMX_HAVE_PLATFORM_IMX2_WDT
 	select IMX_HAVE_PLATFORM_IMX_UART
+	select IMX_HAVE_PLATFORM_PATA_IMX
 	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
 	select IMX_HAVE_PLATFORM_SPI_IMX
 	select MXC_ULPI if USB_ULPI
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-22 23:29:06.000000000 +0200
+++ linux-2.6-submit/arch/arm/mach-mx5/mx51_efika.c	2011-07-24 20:35:33.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_pata_imx();
+
 #if defined(CONFIG_CPU_FREQ_IMX)
 	get_cpu_op = mx51_get_cpu_op;
 #endif