[PATCH V3 1/4] ARM: imx53_loco: add esdhc device support

Zhu Richard-R65037 R65037 at freescale.com
Mon Feb 28 06:39:17 EST 2011


Cc the patchs to linaro guys.

Best Regards
Richard Zhu


> -----Original Message-----
> From: Zhu Richard-R65037
> Sent: Monday, February 28, 2011 7:32 PM
> To: linux-arm-kernel at lists.infradead.org
> Cc: kernel at pengutronix.de; linux-mmc at vger.kernel.org; cjb at laptop.org;
> avorontsov at ru.mvista.com; eric at eukrea.com; w.sang at pengutronix.de;
> linuxzsc at gmail.com; Zhao Richard-B20223; Freescale at lists.linaro.org;
> eric.miao at linaro.org; Zhu Richard-R65037
> Subject: [PATCH V3 1/4] ARM: imx53_loco: add esdhc device support
>
> Signed-off-by: Richard Zhao <richard.zhao at freescale.com>
> ---
>  arch/arm/mach-mx5/Kconfig           |    1 +
>  arch/arm/mach-mx5/board-mx53_loco.c |    2 ++
>  2 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-mx5/Kconfig b/arch/arm/mach-mx5/Kconfig index
> f065a0d..a72c833 100644
> --- a/arch/arm/mach-mx5/Kconfig
> +++ b/arch/arm/mach-mx5/Kconfig
> @@ -162,6 +162,7 @@ config MACH_MX53_LOCO
>       select IMX_HAVE_PLATFORM_IMX2_WDT
>       select IMX_HAVE_PLATFORM_IMX_I2C
>       select IMX_HAVE_PLATFORM_IMX_UART
> +     select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
>       help
>         Include support for MX53 LOCO platform. This includes specific
>         configurations for the board and its peripherals.
> diff --git a/arch/arm/mach-mx5/board-mx53_loco.c b/arch/arm/mach-
> mx5/board-mx53_loco.c
> index 160899e..0a18f8d 100644
> --- a/arch/arm/mach-mx5/board-mx53_loco.c
> +++ b/arch/arm/mach-mx5/board-mx53_loco.c
> @@ -213,6 +213,8 @@ static void __init mx53_loco_board_init(void)
>       imx53_add_imx2_wdt(0, NULL);
>       imx53_add_imx_i2c(0, &mx53_loco_i2c_data);
>       imx53_add_imx_i2c(1, &mx53_loco_i2c_data);
> +     imx53_add_sdhci_esdhc_imx(0, NULL);
> +     imx53_add_sdhci_esdhc_imx(2, NULL);
>  }
>
>  static void __init mx53_loco_timer_init(void)
> --
> 1.7.1





More information about the linux-arm-kernel mailing list