[PATCH] mx51_3ds: Add esdhc support
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Wed Nov 3 15:42:20 EDT 2010
On Wed, Nov 03, 2010 at 11:33:42AM -0700, Fabio Estevam wrote:
> Add support for esdhc on mx51_3ds board.
>
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
>
> ---
> arch/arm/mach-mx5/board-mx51_3ds.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> 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();
> }
You have to assert that IMX_HAVE_PLATFORM_ESDHC is selected by
MACH_MX51_3DS when adding a call to imx51_add_esdhc. Otherwise a build
that only contains mx51_3ds but no other machine fails to build.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
More information about the linux-arm-kernel
mailing list