.pins[0] = 0,
};
+static struct omap_mmc_config h6300_mmc_config __initdata = {
+ .mmc [0] = {
+ .enabled = 1,
+ .wire4 = 1,
+ .wp_pin = OMAP_GPIO_IRQ(13),
+ .power_pin = -1, // tps65010 ?
+ .switch_pin = -1, // OMAP_MPUIO(1), // = -1, // ARMIO2?
+ },
+};
+
static struct omap_board_config_kernel h6300_config[] = {
{ OMAP_TAG_LCD, &h6300_lcd_config },
{ OMAP_TAG_UART, &h6300_uart_config },
{ OMAP_TAG_USB, &h6300_usb_config },
+ { OMAP_TAG_MMC, &h6300_mmc_config },
};
static void __init h6300_init_irq(void)
#include <asm/scatterlist.h>
#include <linux/scatterlist.h>
+#include <asm/mach-types.h>
+
#include <linux/mmc/card.h>
#include <linux/mmc/host.h>
#include <linux/mmc/protocol.h>
mmc_decode_scr(card);
}
-
- mmc_deselect_cards(host);
+ if (!machine_is_omap_h6300()) {
+ mmc_deselect_cards(host);
+ }
}
static unsigned int mmc_calculate_clock(struct mmc_host *host)