All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] ARM: OMAP: omap3beagle: register SD interface
@ 2008-04-22  7:57 Koen Kooi
  2008-04-22  9:18 ` Syed Mohammed, Khasim
  2008-04-22 16:32 ` Felipe Balbi
  0 siblings, 2 replies; 18+ messages in thread
From: Koen Kooi @ 2008-04-22  7:57 UTC (permalink / raw)
  To: linux-omap

In case of broken-mailer-white-space-damage: http://amethyst.openembedded.net/~koen/beagleboard/0001-omap3beagle-register-SD-interface.patch

 From a4127c880913185919f065800535c8d90751ac3c Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@openembedded.org>
Date: Tue, 22 Apr 2008 09:45:45 +0200
Subject: [PATCH] omap3beagle: register SD interface

Signed-off-by: Koen Kooi <koen@openembedded.org>
- ---
arch/arm/mach-omap2/Makefile            |    3 ++-
arch/arm/mach-omap2/board-omap3beagle.c |   11 +++++++++++
arch/arm/mach-omap2/board-omap3beagle.h |   12 ++++++++++++
3 files changed, 25 insertions(+), 1 deletions(-)
create mode 100644 arch/arm/mach-omap2/board-omap3beagle.h

diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index 9414141..84d99d2 100644
- --- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -35,7 +35,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
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach- 
omap2/board-omap3beagle.c
index 0727ee2..866ecfb 100644
- --- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -29,6 +29,8 @@
#include <asm/arch/board.h>
#include <asm/arch/common.h>

+#include "board-omap3beagle.h"
+
static struct omap_uart_config omap3_beagle_uart_config __initdata = {
	.enabled_uarts	= ((1 << 0) | (1 << 1) | (1 << 2)),
};
@@ -48,8 +50,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 +67,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);
diff --git a/arch/arm/mach-omap2/board-omap3beagle.h b/arch/arm/mach- 
omap2/board-omap3beagle.h
new file mode 100644
index 0000000..696ef00
- --- /dev/null
+++ b/arch/arm/mach-omap2/board-omap3beagle.h
@@ -0,0 +1,12 @@
+/*
+ * linux/arch/arm/mach-omap2/board-omap3beagle.h
+ *
+ * Copyright (C) 2008 Koen Kooi <koen@openembedded.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+extern void __init sdp_mmc_init(void);
+
- --
1.5.4.3

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2008-04-25 10:52 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-22  7:57 [PATCH 1/1] ARM: OMAP: omap3beagle: register SD interface Koen Kooi
2008-04-22  9:18 ` Syed Mohammed, Khasim
2008-04-22 13:37   ` Koen Kooi
2008-04-22 16:15   ` Koen Kooi
2008-04-22 16:57     ` David Brownell
2008-04-22 17:00       ` Koen Kooi
2008-04-22 17:07         ` Felipe Balbi
2008-04-23  7:40           ` Koen Kooi
2008-04-24  0:21             ` Tony Lindgren
2008-04-24 19:54               ` Koen Kooi
2008-04-24 20:00                 ` Tony Lindgren
2008-04-24 20:37                   ` Tony Lindgren
2008-04-24 21:01                   ` Koen Kooi
2008-04-25  7:13                     ` Dirk Behme
2008-04-25 10:52                       ` Felipe Balbi
2008-04-24  1:56             ` Kridner, Jason
2008-04-24  2:20               ` Koen Kooi
2008-04-22 16:32 ` Felipe Balbi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.