summaryrefslogtreecommitdiffstats
path: root/target/linux/pxa/patches/003-gumstix_h_verdex_pro_support.patch
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-18 13:04:02 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-18 13:04:02 +0000
commitf2ef1714a6c875acc9817b22d3796d0f9ad5c5ed (patch)
treed4de41b2a6e639e2542257cd153ca280ca6bf284 /target/linux/pxa/patches/003-gumstix_h_verdex_pro_support.patch
parent280163622f5bdcfc6999701d862978cdf4641cf1 (diff)
[pxa]: upgrade to 2.6.37
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26224 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/pxa/patches/003-gumstix_h_verdex_pro_support.patch')
-rw-r--r--target/linux/pxa/patches/003-gumstix_h_verdex_pro_support.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/pxa/patches/003-gumstix_h_verdex_pro_support.patch b/target/linux/pxa/patches/003-gumstix_h_verdex_pro_support.patch
index 570a40354..ff94cb6b4 100644
--- a/target/linux/pxa/patches/003-gumstix_h_verdex_pro_support.patch
+++ b/target/linux/pxa/patches/003-gumstix_h_verdex_pro_support.patch
@@ -23,9 +23,9 @@ Signed-off-by: Bobby Powers <bobbypowers@gmail.com>
/* BTRESET - Reset line to Bluetooth module, active low signal. */
#define GPIO_GUMSTIX_BTRESET 7
-@@ -28,9 +31,18 @@ has detected a cable insertion; driven l
-
- #else
+@@ -20,9 +23,18 @@ this moves to GPIO17 and GPIO37. */
+ /* GPIOx - Connects to USB D+ and used as a pull-up after GPIOn
+ has detected a cable insertion; driven low otherwise. */
+#ifndef CONFIG_MACH_GUMSTIX_VERDEX
+
@@ -34,15 +34,15 @@ Signed-off-by: Bobby Powers <bobbypowers@gmail.com>
+#else
+
-+#define GPIO_GUMSTIX_USB_GPIOn 100
-+#define GPIO_GUMSTIX_USB_GPIOx 27
++#define GPIO_GUMSTIX_USB_GPIOn 100
++#define GPIO_GUMSTIX_USB_GPIOx 27
+
+#endif
+
- #endif
-
/* usb state change */
-@@ -52,48 +64,136 @@ has detected a cable insertion; driven l
+ #define GUMSTIX_USB_INTR_IRQ IRQ_GPIO(GPIO_GUMSTIX_USB_GPIOn)
+
+@@ -42,48 +54,136 @@ has detected a cable insertion; driven l
* ETH_RST provides a hardware reset line to the ethernet chip
* ETH is the IRQ line in from the ethernet chip to the PXA
*/