From: Tony Lindgren Date: Thu, 11 Aug 2005 14:03:11 +0000 (-0700) Subject: ARM: OMAP: Allow board-generic to register MMC from bootloader X-Git-Tag: v2.6.13-omap1~28^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=387a97831e4189783ab3691b93589a3727f28eff;p=linux-2.6-omap-h63xx.git ARM: OMAP: Allow board-generic to register MMC from bootloader Allow board-generic to register MMC from bootloader --- diff --git a/arch/arm/mach-omap1/board-generic.c b/arch/arm/mach-omap1/board-generic.c index 8be2344946d..c209c7172a9 100644 --- a/arch/arm/mach-omap1/board-generic.c +++ b/arch/arm/mach-omap1/board-generic.c @@ -56,10 +56,29 @@ static struct omap_usb_config generic1610_usb_config __initdata = { .hmc_mode = 16, .pins[0] = 6, }; + +static struct omap_mmc_config generic_mmc_config __initdata = { + .mmc [0] = { + .enabled = 0, + .wire4 = 0, + .wp_pin = -1, + .power_pin = -1, + .switch_pin = -1, + }, + .mmc [1] = { + .enabled = 0, + .wire4 = 0, + .wp_pin = -1, + .power_pin = -1, + .switch_pin = -1, + }, +}; + #endif static struct omap_board_config_kernel generic_config[] = { { OMAP_TAG_USB, NULL }, + { OMAP_TAG_MMC, &generic_mmc_config }, }; static void __init omap_generic_init(void)