[PATCH v3] mx51_3ds: Add esdhc support

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Thu Nov 4 03:25:54 EDT 2010


On Wed, Nov 03, 2010 at 02:39:13PM -0700, Fabio Estevam wrote:
> Add support for esdhc on mx51_3ds board.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> ---
>  arch/arm/mach-mx5/Kconfig          |    1 +
>  arch/arm/mach-mx5/board-mx51_3ds.c |    1 +
>  2 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-mx5/Kconfig b/arch/arm/mach-mx5/Kconfig
> index b03d68e..7bff99a 100644
> --- a/arch/arm/mach-mx5/Kconfig
> +++ b/arch/arm/mach-mx5/Kconfig
> @@ -22,6 +22,7 @@ config MACH_MX51_BABBAGE
>  
>  config MACH_MX51_3DS
>  	bool "Support MX51PDK (3DS)"
> +	select IMX_HAVE_PLATFORM_ESDHC
>  	select IMX_HAVE_PLATFORM_IMX_UART
>  	select IMX_HAVE_PLATFORM_SPI_IMX
>  	select MXC_DEBUG_BOARD
> diff --git a/arch/arm/mach-mx5/board-mx51_3ds.c b/arch/arm/mach-mx5/board-mx51_3ds.c
> index ba5805f..d731104 100644
> --- a/arch/arm/mach-mx5/board-mx51_3ds.c
> +++ b/arch/arm/mach-mx5/board-mx51_3ds.c
> @@ -172,6 +172,7 @@ static void __init mxc_board_init(void)
>  		printk(KERN_WARNING "Init of the debugboard failed, all "
>  				    "devices on the board are unusable.\n");
>  
> +	imx51_add_esdhc(0, NULL);
>  	mxc_init_keypad();
>  }
>  
> -- 
> 1.6.0.4
> 
> 
> 
>       
> 

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list