linux-omap-psp: add some more patches
authorKoen Kooi <koen@openembedded.org>
Sun, 26 Jul 2009 19:24:48 +0000 (21:24 +0200)
committerKoen Kooi <koen@openembedded.org>
Sun, 26 Jul 2009 19:24:48 +0000 (21:24 +0200)
recipes/linux/linux-omap-psp-2.6.29/no-3517-hack.diff [new file with mode: 0644]
recipes/linux/linux-omap-psp_2.6.29.bb

diff --git a/recipes/linux/linux-omap-psp-2.6.29/no-3517-hack.diff b/recipes/linux/linux-omap-psp-2.6.29/no-3517-hack.diff
new file mode 100644 (file)
index 0000000..06b62e5
--- /dev/null
@@ -0,0 +1,16 @@
+--- /tmp/usb-musb.c    2009-07-23 21:42:51.000000000 +0200
++++ git/arch/arm/mach-omap2/usb-musb.c 2009-07-23 21:46:46.000000000 +0200
+@@ -152,12 +152,10 @@
+       if (cpu_is_omap243x()) {
+               musb_resources[0].start = OMAP243X_HS_BASE;
+               musb_plat.clock = "usbhs_ick";
+-      } else if (1 /*TODO: cpu_is_omap3517()*/) {
+-              musb_resources[0].start = OMAP3517_HSUSB_OTG_BASE;
++      } else if (0 /*TODO: cpu_is_omap3517()*/) {
+               musb_plat.clock = "usbotg_vbusp_ck";
+               musb_resources[1].start = INT_OMAP3517_HSUSB_OTG;
+               /* set mux config for DRVVBUS */
+-              omap_cfg_reg(E25_3517_USB0_DRVVBUS);
+               /* OMAP3517 can provide max of 500mA */
+               musb_plat.power = 250;
+       } else {
index 322aa7c..56e3e62 100644 (file)
@@ -18,6 +18,7 @@ S = "${WORKDIR}/git"
 SRC_URI_append = " \
        file://fix-twl-merge-damage.diff;patch=1 \
        file://fix-section-mismatch.diff;patch=1 \
+       file:///no-3517-hack.diff;patch=1 \
 "
 
 do_install_append() {