[oe-commits] Koen Kooi : linux-omap-psp: add some more patches

git version control git at git.openembedded.org
Sun Jul 26 19:25:43 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 5d5dc38449645d6064a01a62ee5a0121b6a433cf
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5d5dc38449645d6064a01a62ee5a0121b6a433cf

Author: Koen Kooi <koen at openembedded.org>
Date:   Sun Jul 26 21:24:48 2009 +0200

linux-omap-psp: add some more patches

---

 .../linux/linux-omap-psp-2.6.29/no-3517-hack.diff  |   16 ++++++++++++++++
 recipes/linux/linux-omap-psp_2.6.29.bb             |    1 +
 2 files changed, 17 insertions(+), 0 deletions(-)

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
index 0000000..06b62e5
--- /dev/null
+++ b/recipes/linux/linux-omap-psp-2.6.29/no-3517-hack.diff
@@ -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 {
diff --git a/recipes/linux/linux-omap-psp_2.6.29.bb b/recipes/linux/linux-omap-psp_2.6.29.bb
index 322aa7c..56e3e62 100644
--- a/recipes/linux/linux-omap-psp_2.6.29.bb
+++ b/recipes/linux/linux-omap-psp_2.6.29.bb
@@ -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() {





More information about the Openembedded-commits mailing list