Skip to contentSkip to conversation

efika: Configure esdhc cd/wp on efika mx/sb

PATCH Superseded Arnaud Patard (Rtp) 2 participants 3 messages Aug 25, 2011 – Aug 26, 2011

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#1 lore raw

PATCH 1/1 efika: Configure esdhc cd/wp on efika mx/sb

Hi Arnaud,

Review static void __init efikasb_board_init(vo · line 470

Quoted 12 lines · Arnaud Patard

Update sdhc support on efika to make use of the latest mmc fixes.

(quoted diff) +2 -1
@@ -451,7 +465,8 @@ static void __init efikasb_board_init(vo
 
 	mx51_efikasb_board_id();
 	mx51_efikasb_usb();
-	imx51_add_sdhci_esdhc_imx(1, NULL);
+	imx51_add_sdhci_esdhc_imx(0, &sd0_pdata);
+	imx51_add_sdhci_esdhc_imx(1, &sd1_pdata);
 	mx51_efikasb_display();
        ^^^^^^^^^^^^^^^^^^^

Looks good, but please rebase this onto a mainline kernel.

Quoted 17 lines
(quoted diff) +0 -0
 	platform_device_register(&mx51_efikasb_rfkill_device);
 

Index: linux-2.6-submit/arch/arm/mach-mx5/mx51_efika.c
===================================================================

arch/arm/mach-mx5/mx51_efika.c +0 -1
@@ -704,7 +704,6 @@ void __init efika_board_common_init(void
 	mx51_efika_usb();
 	imx51_add_imx2_wdt(0, NULL);
 	mx51_efika_i2c();
-	imx51_add_sdhci_esdhc_imx(0, NULL);
 
 	/* FIXME: comes from original code. check this. */
 	if (mx51_revision() < IMX_CHIP_REVISION_2_0)
Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#2 lore raw

PATCH 1/1 efika: Configure esdhc cd/wp on efika mx/sb

Quoted 1 line · Sascha Hauer

Hi Arnaud,

Hi,

Quoted 16 lines · Arnaud Patard

Review static void __init efikasb_board_init(vo · line 470

Quoted 12 lines

Update sdhc support on efika to make use of the latest mmc fixes.

(quoted diff) +2 -1
@@ -451,7 +465,8 @@ static void __init efikasb_board_init(vo
 
 	mx51_efikasb_board_id();
 	mx51_efikasb_usb();
-	imx51_add_sdhci_esdhc_imx(1, NULL);
+	imx51_add_sdhci_esdhc_imx(0, &sd0_pdata);
+	imx51_add_sdhci_esdhc_imx(1, &sd1_pdata);
 	mx51_efikasb_display();
        ^^^^^^^^^^^^^^^^^^^
Quoted 1 line

Looks good, but please rebase this onto a mainline kernel.

oops, sorry. You'll receive a new version very soon.

Arnaud