From: Steve Sakoman <steve@xxxxxxxxxxx> Add MMC support for OMAP3 EVM Signed-off-by: Steve Sakoman <steve@xxxxxxxxxxx> --- Makefile | 3 ++- board-omap3evm.c | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff -uprN a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c --- a/arch/arm/mach-omap2/board-omap3evm.c 2008-04-26 06:32:12.000000000 -0700 +++ b/arch/arm/mach-omap2/board-omap3evm.c 2008-04-26 22:17:03.000000000 -0700 @@ -27,6 +27,7 @@ #include <asm/arch/gpio.h> #include <asm/arch/board.h> +#include <asm/arch/hsmmc.h> #include <asm/arch/common.h> static struct omap_uart_config omap3_evm_uart_config __initdata = { @@ -40,6 +41,13 @@ static int __init omap3_evm_i2c_init(voi omap_register_i2c_bus(3, 400, NULL, 0); return 0; } + +static struct omap_mmc_config omap3_evm_mmc_config __initdata = { + .mmc [0] = { + .enabled = 1, + .wire4 = 1, + }, +}; static void __init omap3_evm_init_irq(void) { @@ -50,6 +58,7 @@ static void __init omap3_evm_init_irq(vo static struct omap_board_config_kernel omap3_evm_config[] __initdata = { { OMAP_TAG_UART, &omap3_evm_uart_config }, + { OMAP_TAG_MMC, &omap3_evm_mmc_config }, }; static void __init omap3_evm_init(void) @@ -57,6 +66,7 @@ static void __init omap3_evm_init(void) omap_board_config = omap3_evm_config; omap_board_config_size = ARRAY_SIZE(omap3_evm_config); omap_serial_init(); + hsmmc_init(); } arch_initcall(omap3_evm_i2c_init); diff -uprN a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile --- a/arch/arm/mach-omap2/Makefile 2008-04-26 06:32:12.000000000 -0700 +++ b/arch/arm/mach-omap2/Makefile 2008-04-26 22:17:03.000000000 -0700 @@ -37,7 +37,8 @@ obj-$(CONFIG_MACH_OMAP_3430SDP) += boar usb-musb.o \ usb-ehci.o \ board-3430sdp-flash.o -obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o +obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o \ + hsmmc.o obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o \ usb-musb.o usb-ehci.o \ hsmmc.o -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html