Commit 7f7e34f8 authored by Koen Kooi's avatar Koen Kooi Committed by Tony Lindgren

ARM: OMAP: omap3beagle: register SD interface

 From dac3cdc5952ab39fa7ae0545d43e2daa95329b07 Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@openembedded.org>
Date: Wed, 23 Apr 2008 09:38:31 +0200
Subject: [PATCH] omap3beagle: register SD interface
Signed-off-by: default avatarKoen Kooi <koen@openembedded.org>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 8aa3d5aa
......@@ -36,7 +36,8 @@ obj-$(CONFIG_MACH_OMAP_3430SDP) += board-3430sdp.o \
board-3430sdp-usb.o \
board-3430sdp-flash.o
obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o
obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o
obj-$(CONFIG_MACH_OMAP3_BEAGLE) += board-omap3beagle.o \
board-sdp-hsmmc.o
obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o \
board-apollon-mmc.o \
board-apollon-keys.o
......
......@@ -48,8 +48,16 @@ static void __init omap3_beagle_init_irq(void)
omap_gpio_init();
}
static struct omap_mmc_config omap3beagle_mmc_config __initdata = {
.mmc [0] = {
.enabled = 1,
.wire4 = 1,
},
};
static struct omap_board_config_kernel omap3_beagle_config[] __initdata = {
{ OMAP_TAG_UART, &omap3_beagle_uart_config },
{ OMAP_TAG_MMC, &omap3beagle_mmc_config },
};
static void __init omap3_beagle_init(void)
......@@ -57,6 +65,7 @@ static void __init omap3_beagle_init(void)
omap_board_config = omap3_beagle_config;
omap_board_config_size = ARRAY_SIZE(omap3_beagle_config);
omap_serial_init();
sdp_mmc_init();
}
arch_initcall(omap3_beagle_i2c_init);
......
......@@ -29,6 +29,8 @@
#ifndef __ASM_ARCH_OMAP3_BEAGLE_H
#define __ASM_ARCH_OMAP3_BEAGLE_H
extern void sdp_mmc_init(void);
#define TWL4030_IRQNUM INT_34XX_SYS_NIRQ
#endif /* __ASM_ARCH_OMAP3_BEAGLE_H */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment