[patch 1/1] efika: Configure esdhc cd/wp on efika mx/sb

Sascha Hauer s.hauer at pengutronix.de
Thu Aug 25 11:02:14 EDT 2011


Hi Arnaud,

On Thu, Aug 25, 2011 at 04:37:57PM +0200, Arnaud Patard wrote:
> Update sdhc support on efika to make use of the latest mmc fixes.
> 
> 
> Signed-off-by: Arnaud Patard <arnaud.patard at rtp-net.org>
> @@ -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.

>  	platform_device_register(&mx51_efikasb_rfkill_device);
>  
> 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-06-20 20:36:15.000000000 +0200
> +++ linux-2.6-submit/arch/arm/mach-mx5/mx51_efika.c	2011-06-21 01:13:07.000000000 +0200
> @@ -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)
> 
> 
> 

-- 
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 |



More information about the linux-arm-kernel mailing list