summaryrefslogtreecommitdiff
path: root/packages/linux/linux-omap2-git/beagleboard/add-beagle-usb-support.diff
blob: e7f810bf9a665bd36aab6ad6b7ca562cbd3d41b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
From 101e01552974e9ce7b4bf26aa5e4a203130b6dfd Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@openembedded.org>
Date: Thu, 24 Apr 2008 12:28:53 +0200
Subject: [PATCH] omap3beagle: register USB interfaces

Signed-off-by: Koen Kooi <koen@openembedded.org>
---
 arch/arm/mach-omap2/Makefile                  |    3 ++-
 arch/arm/mach-omap2/board-omap3beagle.c       |    1 +
 include/asm-arm/arch-omap/board-omap3beagle.h |    1 +
 3 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index c37df1a..10607cf 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -37,7 +37,8 @@ obj-$(CONFIG_MACH_OMAP_3430SDP)		+= board-3430sdp.o \
 					   board-3430sdp-flash.o
 obj-$(CONFIG_MACH_OMAP3EVM)		+= board-omap3evm.o
 obj-$(CONFIG_MACH_OMAP3_BEAGLE)		+= board-omap3beagle.o \
-					   board-sdp-hsmmc.o
+					   board-sdp-hsmmc.o \
+					   board-3430sdp-usb.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 c03bb26..3e14b6b 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -66,6 +66,7 @@ static void __init omap3_beagle_init(void)
 	omap_board_config_size = ARRAY_SIZE(omap3_beagle_config);
 	omap_serial_init();
 	sdp_mmc_init();
+	sdp3430_usb_init();
 }
 
 arch_initcall(omap3_beagle_i2c_init);
diff --git a/include/asm-arm/arch-omap/board-omap3beagle.h b/include/asm-arm/arch-omap/board-omap3beagle.h
index 782e2e5..5f78621 100644
--- a/include/asm-arm/arch-omap/board-omap3beagle.h
+++ b/include/asm-arm/arch-omap/board-omap3beagle.h
@@ -30,6 +30,7 @@
 #define __ASM_ARCH_OMAP3_BEAGLE_H
 
 extern void sdp_mmc_init(void);
+extern void sdp3430_usb_init(void);
 
 #define TWL4030_IRQNUM		INT_34XX_SYS_NIRQ
 
-- 
1.5.4.3