Skip to contentSkip to conversation

mx51_3ds: Add esdhc support

PATCH Superseded Fabio Estevam 2 participants 2 messages Nov 3, 2010

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mx51_3ds: Add esdhc support

Add support for esdhc on mx51_3ds board.

---
 arch/arm/mach-mx5/board-mx51_3ds.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-mx5/board-mx51_3ds.c +1 -0
index ba5805f..d731104 100644
@@ -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();
 }
 
Signature · 1 line
1.6.0.4
#1 lore raw

PATCH 1/1 mx51_3ds: Add esdhc support

Quoted 13 lines · Fabio Estevam

Add support for esdhc on mx51_3ds board.

---
 arch/arm/mach-mx5/board-mx51_3ds.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-mx5/board-mx51_3ds.c +0 -0
index ba5805f..d731104 100644

arch/arm/mach-mx5/board-mx51_3ds.c static void __init mxc_board_init(void) · line 177

Quoted 6 lines
arch/arm/mach-mx5/board-mx51_3ds.c +1 -0
@@ -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

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |