diff options
author | Denys Dmytriyenko <denys@ti.com> | 2012-06-11 20:44:56 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2012-06-11 20:44:56 -0400 |
commit | 88867c1d96684925027a0ecc9e25c6ea70040cc6 (patch) | |
tree | e1ad8651aa7663850f6dc1108b278f56a2b92a91 /extras/recipes-kernel/linux/linux-omap-2.6.39/sakoman/0023-ARM-OMAP-automatically-set-musb-mode-in-platform-dat.patch | |
parent | a1e2573369c6714956af561523ba274aa9c185f7 (diff) | |
download | meta-ti-split.tar.gz |
extras: move things to extrassplit
Move non-essential, outdated, best-effort pieces, as well, as those requiring
extra non-standard dependencies besides oe-core.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap-2.6.39/sakoman/0023-ARM-OMAP-automatically-set-musb-mode-in-platform-dat.patch')
-rw-r--r-- | extras/recipes-kernel/linux/linux-omap-2.6.39/sakoman/0023-ARM-OMAP-automatically-set-musb-mode-in-platform-dat.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap-2.6.39/sakoman/0023-ARM-OMAP-automatically-set-musb-mode-in-platform-dat.patch b/extras/recipes-kernel/linux/linux-omap-2.6.39/sakoman/0023-ARM-OMAP-automatically-set-musb-mode-in-platform-dat.patch new file mode 100644 index 00000000..a35d7de5 --- /dev/null +++ b/extras/recipes-kernel/linux/linux-omap-2.6.39/sakoman/0023-ARM-OMAP-automatically-set-musb-mode-in-platform-dat.patch | |||
@@ -0,0 +1,49 @@ | |||
1 | From 92c06791d4d6b537a9a83b27d71d7d3dd348f93f Mon Sep 17 00:00:00 2001 | ||
2 | From: Steve Sakoman <steve@sakoman.com> | ||
3 | Date: Wed, 24 Feb 2010 10:37:22 -0800 | ||
4 | Subject: [PATCH 23/32] ARM: OMAP: automatically set musb mode in platform data based on CONFIG options | ||
5 | |||
6 | --- | ||
7 | arch/arm/mach-omap2/board-omap3beagle.c | 6 ++++++ | ||
8 | arch/arm/mach-omap2/board-overo.c | 6 ++++++ | ||
9 | 2 files changed, 12 insertions(+), 0 deletions(-) | ||
10 | |||
11 | diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c | ||
12 | index 33007fd..2de4b02 100644 | ||
13 | --- a/arch/arm/mach-omap2/board-omap3beagle.c | ||
14 | +++ b/arch/arm/mach-omap2/board-omap3beagle.c | ||
15 | @@ -604,7 +604,13 @@ static struct omap_board_mux board_mux[] __initdata = { | ||
16 | |||
17 | static struct omap_musb_board_data musb_board_data = { | ||
18 | .interface_type = MUSB_INTERFACE_ULPI, | ||
19 | +#if defined(CONFIG_USB_MUSB_OTG) | ||
20 | .mode = MUSB_OTG, | ||
21 | +#elif defined(CONFIG_USB_GADGET_MUSB_HDRC) | ||
22 | + .mode = MUSB_PERIPHERAL, | ||
23 | +#else | ||
24 | + .mode = MUSB_HOST, | ||
25 | +#endif | ||
26 | .power = 100, | ||
27 | }; | ||
28 | |||
29 | diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c | ||
30 | index 86f76e9..61c59fc 100644 | ||
31 | --- a/arch/arm/mach-omap2/board-overo.c | ||
32 | +++ b/arch/arm/mach-omap2/board-overo.c | ||
33 | @@ -729,7 +729,13 @@ static struct omap_board_mux board_mux[] __initdata = { | ||
34 | |||
35 | static struct omap_musb_board_data musb_board_data = { | ||
36 | .interface_type = MUSB_INTERFACE_ULPI, | ||
37 | +#if defined(CONFIG_USB_MUSB_OTG) | ||
38 | .mode = MUSB_OTG, | ||
39 | +#elif defined(CONFIG_USB_GADGET_MUSB_HDRC) | ||
40 | + .mode = MUSB_PERIPHERAL, | ||
41 | +#else | ||
42 | + .mode = MUSB_HOST, | ||
43 | +#endif | ||
44 | .power = 100, | ||
45 | }; | ||
46 | |||
47 | -- | ||
48 | 1.6.6.1 | ||
49 | |||