From 88e19cd17500039bbf173de294423dac49d36d2e Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Fri, 1 Jul 2005 05:16:58 -0700 Subject: [PATCH] ARM: OMAP: Innovator MMC init Innovator MMC init --- arch/arm/mach-omap/omap1/board-innovator.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/mach-omap/omap1/board-innovator.c b/arch/arm/mach-omap/omap1/board-innovator.c index a77bcc1c84e..535836c5d3f 100644 --- a/arch/arm/mach-omap/omap1/board-innovator.c +++ b/arch/arm/mach-omap/omap1/board-innovator.c @@ -29,6 +29,7 @@ #include #include +#include #include #include #include @@ -220,8 +221,19 @@ static struct omap_usb_config h2_usb_config __initdata = { }; #endif +static struct omap_mmc_config innovator_mmc_config __initdata = { + .mmc [0] = { + .enabled = 1, + .wire4 = 1, + .wp_pin = OMAP_MPUIO(3), + .power_pin = -1, /* FPGA F3 UIO42 */ + .switch_pin = -1, /* FPGA F4 UIO43 */ + }, +}; + static struct omap_board_config_kernel innovator_config[] = { { OMAP_TAG_USB, NULL }, + { OMAP_TAG_MMC, &innovator_mmc_config }, }; static void __init innovator_init(void) -- 2.41.1