]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Allow board-generic to register MMC from bootloader
authorTony Lindgren <tony@atomide.com>
Thu, 11 Aug 2005 14:03:11 +0000 (07:03 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 11 Aug 2005 14:03:11 +0000 (07:03 -0700)
Allow board-generic to register MMC from bootloader

arch/arm/mach-omap1/board-generic.c

index 8be2344946d5a9b2151784a294e4f31d62feadd6..c209c7172a9aedf295c725e5ecf79bbb0b8ea02f 100644 (file)
@@ -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)