summaryrefslogtreecommitdiffstats
path: root/target/linux/pxa/patches
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
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')
-rw-r--r--target/linux/pxa/patches/001-gumstix_verdex_pro_arch_support.patch18
-rw-r--r--target/linux/pxa/patches/002-verdex_lcd_support.patch2
-rw-r--r--target/linux/pxa/patches/003-gumstix_h_verdex_pro_support.patch16
-rw-r--r--target/linux/pxa/patches/004-smsc911x_verdex_pro_support.patch10
-rw-r--r--target/linux/pxa/patches/005-verdex_pcmcia_support.patch21
5 files changed, 33 insertions, 34 deletions
diff --git a/target/linux/pxa/patches/001-gumstix_verdex_pro_arch_support.patch b/target/linux/pxa/patches/001-gumstix_verdex_pro_arch_support.patch
index aa05cfcfe..215409d2c 100644
--- a/target/linux/pxa/patches/001-gumstix_verdex_pro_arch_support.patch
+++ b/target/linux/pxa/patches/001-gumstix_verdex_pro_arch_support.patch
@@ -17,8 +17,8 @@ Signed-off-by: Bobby Powers <bobbypowers@gmail.com>
--- a/arch/arm/mach-pxa/Kconfig
+++ b/arch/arm/mach-pxa/Kconfig
-@@ -32,23 +32,34 @@ endmenu
- endif
+@@ -116,23 +116,34 @@ config MACH_CAPC7117
+ select PXA3xx
config ARCH_GUMSTIX
- bool "Gumstix XScale 255 boards"
@@ -63,19 +63,19 @@ Signed-off-by: Bobby Powers <bobbypowers@gmail.com>
bool "Intel Mote 2 Platform"
--- a/arch/arm/mach-pxa/Makefile
+++ b/arch/arm/mach-pxa/Makefile
-@@ -25,7 +25,8 @@ obj-$(CONFIG_CPU_PXA320) += pxa320.o
- obj-$(CONFIG_CPU_PXA930) += pxa930.o
-
- # Specific board support
+@@ -49,7 +49,8 @@ endif
+ obj-$(CONFIG_MACH_EM_X270) += em-x270.o
+ obj-$(CONFIG_MACH_CM_X300) += cm-x300.o
+ obj-$(CONFIG_MACH_CAPC7117) += capc7117.o mxm8x10.o
-obj-$(CONFIG_ARCH_GUMSTIX) += gumstix.o
+obj-$(CONFIG_MACH_GUMSTIX_F) += gumstix.o
+obj-$(CONFIG_MACH_GUMSTIX_VERDEX) += gumstix-verdex.o
obj-$(CONFIG_GUMSTIX_AM200EPD) += am200epd.o
obj-$(CONFIG_GUMSTIX_AM300EPD) += am300epd.o
- obj-$(CONFIG_ARCH_LUBBOCK) += lubbock.o
+ obj-$(CONFIG_MACH_INTELMOTE2) += stargate2.o
--- /dev/null
+++ b/arch/arm/mach-pxa/gumstix-verdex.c
-@@ -0,0 +1,749 @@
+@@ -0,0 +1,747 @@
+/*
+ * linux/arch/arm/mach-pxa/gumstix-verdex.c
+ *
@@ -816,9 +816,7 @@ Signed-off-by: Bobby Powers <bobbypowers@gmail.com>
+}
+
+MACHINE_START(GUMSTIX, "Gumstix verdex")
-+ .phys_io = 0x40000000,
+ .boot_params = 0xa0000100, /* match u-boot bi_boot_params */
-+ .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc,
+ .map_io = pxa_map_io,
+ .init_irq = pxa27x_init_irq,
+ .timer = &pxa_timer,
diff --git a/target/linux/pxa/patches/002-verdex_lcd_support.patch b/target/linux/pxa/patches/002-verdex_lcd_support.patch
index 834930703..0d60d2d01 100644
--- a/target/linux/pxa/patches/002-verdex_lcd_support.patch
+++ b/target/linux/pxa/patches/002-verdex_lcd_support.patch
@@ -12,7 +12,7 @@ Signed-off-by: Bobby Powers <bobbypowers@gmail.com>
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
-@@ -1772,6 +1772,37 @@ config FB_PXA
+@@ -1822,6 +1822,37 @@ config FB_PXA
say M here and read <file:Documentation/kbuild/modules.txt>.
If unsure, say N.
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
*/
diff --git a/target/linux/pxa/patches/004-smsc911x_verdex_pro_support.patch b/target/linux/pxa/patches/004-smsc911x_verdex_pro_support.patch
index 82490b33b..8eb0c1eb9 100644
--- a/target/linux/pxa/patches/004-smsc911x_verdex_pro_support.patch
+++ b/target/linux/pxa/patches/004-smsc911x_verdex_pro_support.patch
@@ -15,7 +15,7 @@ Signed-off-by: Bobby Powers <bobbypowers@gmail.com>
--- a/drivers/net/smsc911x.c
+++ b/drivers/net/smsc911x.c
-@@ -1181,7 +1181,7 @@ static int smsc911x_open(struct net_devi
+@@ -1189,7 +1189,7 @@ static int smsc911x_open(struct net_devi
SMSC_WARNING(IFUP,
"Timed out waiting for EEPROM busy bit to clear");
@@ -24,7 +24,7 @@ Signed-off-by: Bobby Powers <bobbypowers@gmail.com>
/* The soft reset above cleared the device's MAC address,
* restore it from local copy (set in probe) */
-@@ -1193,8 +1193,8 @@ static int smsc911x_open(struct net_devi
+@@ -1201,8 +1201,8 @@ static int smsc911x_open(struct net_devi
smsc911x_reg_write(pdata, INT_EN, 0);
smsc911x_reg_write(pdata, INT_STS, 0xFFFFFFFF);
@@ -35,7 +35,7 @@ Signed-off-by: Bobby Powers <bobbypowers@gmail.com>
if (pdata->config.irq_polarity) {
SMSC_TRACE(IFUP, "irq polarity: active high");
-@@ -1220,7 +1220,7 @@ static int smsc911x_open(struct net_devi
+@@ -1228,7 +1228,7 @@ static int smsc911x_open(struct net_devi
temp |= INT_EN_SW_INT_EN_;
smsc911x_reg_write(pdata, INT_EN, temp);
@@ -44,7 +44,7 @@ Signed-off-by: Bobby Powers <bobbypowers@gmail.com>
while (timeout--) {
if (pdata->software_irq_signal)
break;
-@@ -1948,6 +1948,38 @@ static int __devexit smsc911x_drv_remove
+@@ -1946,6 +1946,38 @@ static int __devexit smsc911x_drv_remove
return 0;
}
@@ -83,7 +83,7 @@ Signed-off-by: Bobby Powers <bobbypowers@gmail.com>
static int __devinit smsc911x_drv_probe(struct platform_device *pdev)
{
struct net_device *dev;
-@@ -2081,11 +2113,11 @@ static int __devinit smsc911x_drv_probe(
+@@ -2082,11 +2114,11 @@ static int __devinit smsc911x_drv_probe(
SMSC_TRACE(PROBE,
"Mac Address is read from LAN911x EEPROM");
} else {
diff --git a/target/linux/pxa/patches/005-verdex_pcmcia_support.patch b/target/linux/pxa/patches/005-verdex_pcmcia_support.patch
index ca50022c6..c6a793e9f 100644
--- a/target/linux/pxa/patches/005-verdex_pcmcia_support.patch
+++ b/target/linux/pxa/patches/005-verdex_pcmcia_support.patch
@@ -15,26 +15,27 @@ Signed-off-by: Bobby Powers <bobbypowers@gmail.com>
--- a/drivers/pcmcia/Kconfig
+++ b/drivers/pcmcia/Kconfig
-@@ -221,7 +221,8 @@ config PCMCIA_PXA2XX
- depends on ARM && ARCH_PXA && PCMCIA
+@@ -215,7 +215,7 @@ config PCMCIA_PXA2XX
depends on (ARCH_LUBBOCK || MACH_MAINSTONE || PXA_SHARPSL \
|| MACH_ARMCORE || ARCH_PXA_PALM || TRIZEPS_PCMCIA \
-- || ARCH_VIPER || ARCH_PXA_ESERIES || MACH_STARGATE2)
-+ || ARCH_VIPER || ARCH_PXA_ESERIES || MACH_STARGATE2 \
-+ || ARCH_GUMSTIX)
+ || ARCOM_PCMCIA || ARCH_PXA_ESERIES || MACH_STARGATE2 \
+- || MACH_VPAC270 || MACH_BALLOON3)
++ || MACH_VPAC270 || MACH_BALLOON3 || ARCH_GUMSTIX)
+ select PCMCIA_SOC_COMMON
help
Say Y here to include support for the PXA2xx PCMCIA controller
-
--- a/drivers/pcmcia/Makefile
+++ b/drivers/pcmcia/Makefile
-@@ -77,4 +77,7 @@ pxa2xx-obj-$(CONFIG_MACH_PALMLD) += pxa
- pxa2xx-obj-$(CONFIG_MACH_E740) += pxa2xx_e740.o
- pxa2xx-obj-$(CONFIG_MACH_STARGATE2) += pxa2xx_stargate2.o
+@@ -71,6 +71,9 @@ pxa2xx-obj-$(CONFIG_MACH_STARGATE2) +=
+ pxa2xx-obj-$(CONFIG_MACH_VPAC270) += pxa2xx_vpac270.o
+ pxa2xx-obj-$(CONFIG_MACH_BALLOON3) += pxa2xx_balloon3.o
+pxa2xx-obj-$(CONFIG_MACH_GUMSTIX_VERDEX) += pxa2xx_cs.o
+pxa2xx_cs-objs := pxa2xx_gumstix.o
+
- obj-$(CONFIG_PCMCIA_PXA2XX) += pxa2xx_core.o $(pxa2xx-obj-y)
+ obj-$(CONFIG_PCMCIA_PXA2XX) += pxa2xx_base.o $(pxa2xx-obj-y)
+
+ obj-$(CONFIG_PCMCIA_XXS1500) += xxs1500_ss.o
--- /dev/null
+++ b/drivers/pcmcia/pxa2xx_gumstix.c
@@ -0,0 +1,194 @@