omap3beagle: register SD interface
This isn't complete, it needs a call to an mmc_init function that does
something like board-sdp-hsmmc.c does. This patch gives me:
mmci-omap mmci-omap.1: No Slots
during boot, which is progress :)
Signed-off-by: Koen Kooi <
ko...@openembedded.org>
---
board-omap3beagle.c | 9 +++++++++
1 file changed, 9 insertions(+)
--- /tmp/board-omap3beagle.c 2008-04-16 18:12:56.347129861 +0200
+++ git/arch/arm/mach-omap2/board-omap3beagle.c 2008-04-16
18:15:25.079135583 +0200
@@ -48,8 +48,17 @@
omap_gpio_init();
}
+
+static struct omap_mmc_config omap3beagle_mmc_config __initdata = {
+ .mmc [0] = {
+ .enabled = 1,
+ .wire4 = 1,
+ },
+};
+
static struct omap_board_config_kernel omap3_beagle_config[]
__initdata = {
{OMAP_TAG_UART, &omap3_beagle_uart_config },
+ {OMAP_TAG_MMC, &omap3beagle_mmc_config },
};
static void __init omap3_beagle_init(void)