aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-kexecboot-2.6.32/usb
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2010-09-29 01:46:19 +0200
committerAndrea Adami <andrea.adami@gmail.com>2010-09-29 01:51:43 +0200
commitda451d4d552488e6ce6dad0a7fa4815a9c29459d (patch)
tree3de0c7690e001a75eb505c525a0369168f8c6bf0 /recipes/linux/linux-kexecboot-2.6.32/usb
parentee4a70a8d3832f0c4bae3c002692136e9ff6587f (diff)
downloadopenembedded-da451d4d552488e6ce6dad0a7fa4815a9c29459d.tar.gz
linux-kexecboot: move recipes in /linux
* some old version might hopefully be pruned
Diffstat (limited to 'recipes/linux/linux-kexecboot-2.6.32/usb')
-rw-r--r--recipes/linux/linux-kexecboot-2.6.32/usb/ehci-omap.c-mach-to-plat.diff12
-rw-r--r--recipes/linux/linux-kexecboot-2.6.32/usb/ehci.patch46
2 files changed, 58 insertions, 0 deletions
diff --git a/recipes/linux/linux-kexecboot-2.6.32/usb/ehci-omap.c-mach-to-plat.diff b/recipes/linux/linux-kexecboot-2.6.32/usb/ehci-omap.c-mach-to-plat.diff
new file mode 100644
index 0000000000..faa1ae025c
--- /dev/null
+++ b/recipes/linux/linux-kexecboot-2.6.32/usb/ehci-omap.c-mach-to-plat.diff
@@ -0,0 +1,12 @@
+--- a/drivers/usb/host/ehci-omap.c
++++ b/drivers/usb/host/ehci-omap.c
+@@ -37,7 +37,7 @@
+ #include <linux/platform_device.h>
+ #include <linux/clk.h>
+ #include <linux/gpio.h>
+-#include <mach/usb.h>
++#include <plat/usb.h>
+
+ /*
+ * OMAP USBHOST Register addresses: VIRTUAL ADDRESSES
+
diff --git a/recipes/linux/linux-kexecboot-2.6.32/usb/ehci.patch b/recipes/linux/linux-kexecboot-2.6.32/usb/ehci.patch
new file mode 100644
index 0000000000..569561185a
--- /dev/null
+++ b/recipes/linux/linux-kexecboot-2.6.32/usb/ehci.patch
@@ -0,0 +1,46 @@
+From patchwork Wed Nov 25 08:56:48 2009
+Content-Type: text/plain; charset="utf-8"
+MIME-Version: 1.0
+Content-Transfer-Encoding: 7bit
+Subject: [2/2] usb: ehci: Allow EHCI to be built on OMAP3
+Date: Wed, 25 Nov 2009 08:56:48 -0000
+From: Olof Johansson <olof@lixom.net>
+X-Patchwork-Id: 62727
+
+OMAP34XX has EHCI, so select USB_ARCH_HAS_EHCI.
+
+Signed-off-by: Olof Johansson <olof@lixom.net>
+Acked-by: Anand Gadiyar <gadiyar@ti.com>
+
+---
+On Sat, Nov 07, 2009 at 01:16:32AM +0530, Anand Gadiyar wrote:
+> usb: ehci: Allow EHCI to be built on OMAP3
+>
+> OMAP3 chips have a built-in EHCI controller.
+> The recently introduced omap ehci-hcd driver missed
+> out on selecting USB_ARCH_HAS_EHCI in Kconfig.
+>
+> Without this, the driver cannot be built.
+
+This is a losing battle. It scales much better to select the option
+from OMAP34XX, instead of starting to enumerate the various platforms
+in drivers/usb.
+
+
+--
+To unsubscribe from this list: send the line "unsubscribe linux-omap" in
+the body of a message to majordomo@vger.kernel.org
+More majordomo info at http://vger.kernel.org/majordomo-info.html
+
+diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
+index 034d990..a913b05 100644
+--- a/arch/arm/mach-omap2/Kconfig
++++ b/arch/arm/mach-omap2/Kconfig
+@@ -18,6 +18,7 @@ config ARCH_OMAP2430
+ config ARCH_OMAP34XX
+ bool "OMAP34xx Based System"
+ depends on ARCH_OMAP3
++ select USB_ARCH_HAS_EHCI
+
+ config ARCH_OMAP3430
+ bool "OMAP3430 support"