ramips: image: add MkImageLzma wrapper
[openwrt.git] / target / linux / omap24xx / patches-3.1 / 597-cbus-tahvo-usb-platform.patch
1 --- a/arch/arm/mach-omap2/board-n8x0.c
2 +++ b/arch/arm/mach-omap2/board-n8x0.c
3 @@ -41,6 +41,7 @@
4 #include <plat/mmc.h>
5 #include <plat/serial.h>
6 #include <plat/gpio-switch.h>
7 +#include <plat/usb.h>
8
9 #include "mux.h"
10
11 @@ -486,6 +487,14 @@ static struct musb_hdrc_platform_data tu
12 .config = &musb_config,
13 };
14
15 +static struct omap_usb_config n8x0_omap_usb_config __initdata = {
16 + .otg = 1,
17 + .register_host = 1,
18 + .register_dev = 1,
19 + .hmc_mode = 16,
20 + .pins[0] = 6,
21 +};
22 +
23 static void __init n8x0_usb_init(void)
24 {
25 int ret = 0;
26 @@ -507,6 +516,8 @@ static void __init n8x0_usb_init(void)
27 if (ret != 0)
28 goto err;
29
30 + omap2_usbfs_init(&n8x0_omap_usb_config);
31 +
32 printk(announce);
33
34 return;
This page took 0.053481 seconds and 5 git commands to generate.