summaryrefslogtreecommitdiffstats
path: root/target/linux/mx2/patches-2.6.34
diff options
context:
space:
mode:
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-10 18:37:34 +0000
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-10 18:37:34 +0000
commitd531754b838a68f07dca3e835c385d3201ebc746 (patch)
tree91eacfa598ce84efa4216adfa1a08013967e0ded /target/linux/mx2/patches-2.6.34
parentfc6a5146e946d71b799a695540e7f7c444427a3c (diff)
[kernel] Add mx2 target with very basic support for the vp6500 voip phone
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20786 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mx2/patches-2.6.34')
-rw-r--r--target/linux/mx2/patches-2.6.34/010-mach-vp6500.patch22
-rw-r--r--target/linux/mx2/patches-2.6.34/011-mach-type.patch11
-rw-r--r--target/linux/mx2/patches-2.6.34/020-fix-usb-ioresource.patch22
3 files changed, 55 insertions, 0 deletions
diff --git a/target/linux/mx2/patches-2.6.34/010-mach-vp6500.patch b/target/linux/mx2/patches-2.6.34/010-mach-vp6500.patch
new file mode 100644
index 000000000..42d0e1e3f
--- /dev/null
+++ b/target/linux/mx2/patches-2.6.34/010-mach-vp6500.patch
@@ -0,0 +1,22 @@
+--- a/arch/arm/mach-mx2/Kconfig 2010-04-10 13:56:17.000000000 +0200
++++ b/arch/arm/mach-mx2/Kconfig 2010-04-10 13:42:38.000000000 +0200
+@@ -27,6 +27,12 @@
+ Include support for MX21ADS platform. This includes specific
+ configurations for the board and its peripherals.
+
++config MACH_VP6500
++ bool "Phillips VP6500 VoIP phone"
++ depends on MACH_MX21
++ help
++ Include support for the Phillips VP6500 VoIP phone.
++
+ config MACH_MX27ADS
+ bool "MX27ADS platform"
+ depends on MACH_MX27
+--- a/arch/arm/mach-mx2/Makefile 2010-04-10 13:56:17.000000000 +0200
++++ b/arch/arm/mach-mx2/Makefile 2010-04-10 13:49:32.000000000 +0200
+@@ -21,3 +21,4 @@
+ obj-$(CONFIG_MACH_EUKREA_MBIMX27_BASEBOARD) += eukrea_mbimx27-baseboard.o
+ obj-$(CONFIG_MACH_PCA100) += mach-pca100.o
+ obj-$(CONFIG_MACH_MXT_TD60) += mach-mxt_td60.o
++obj-$(CONFIG_MACH_VP6500) += mach-vp6500.o
diff --git a/target/linux/mx2/patches-2.6.34/011-mach-type.patch b/target/linux/mx2/patches-2.6.34/011-mach-type.patch
new file mode 100644
index 000000000..39075f5e2
--- /dev/null
+++ b/target/linux/mx2/patches-2.6.34/011-mach-type.patch
@@ -0,0 +1,11 @@
+--- a/arch/arm/tools/mach-types 2010-04-10 13:56:20.000000000 +0200
++++ b/arch/arm/tools/mach-types 2010-04-10 15:24:46.000000000 +0200
+@@ -530,7 +530,7 @@
+ dp1000 MACH_DP1000 DP1000 514
+ omap_osk MACH_OMAP_OSK OMAP_OSK 515
+ rg100v3 MACH_RG100V3 RG100V3 516
+-mx2ads MACH_MX2ADS MX2ADS 517
++vp6500 MACH_VP6500 VP6500 517
+ pxa_kilo MACH_PXA_KILO PXA_KILO 518
+ ixp4xx_eagle MACH_IXP4XX_EAGLE IXP4XX_EAGLE 519
+ tosa MACH_TOSA TOSA 520
diff --git a/target/linux/mx2/patches-2.6.34/020-fix-usb-ioresource.patch b/target/linux/mx2/patches-2.6.34/020-fix-usb-ioresource.patch
new file mode 100644
index 000000000..dae59b15d
--- /dev/null
+++ b/target/linux/mx2/patches-2.6.34/020-fix-usb-ioresource.patch
@@ -0,0 +1,22 @@
+--- a/arch/arm/mach-mx2/devices.c 2010-04-10 13:56:17.000000000 +0200
++++ b/arch/arm/mach-mx2/devices.c 2010-04-10 15:15:17.000000000 +0200
+@@ -304,7 +304,7 @@
+ #ifdef CONFIG_MACH_MX27
+ static struct resource otg_resources[] = {
+ {
+- .start = MX27_USBOTG_BASE_ADDR,
++ .start = MX27_usbotg_BASE_ADDR,
+ .end = MX27_USBOTG_BASE_ADDR + 0x1ff,
+ .flags = IORESOURCE_MEM,
+ }, {
+@@ -483,8 +483,8 @@
+ #ifdef CONFIG_MACH_MX21
+ static struct resource mx21_usbhc_resources[] = {
+ {
+- .start = MX21_BASE_ADDR,
+- .end = MX21_BASE_ADDR + 0x1FFF,
++ .start = MX21_USBOTG_BASE_ADDR,
++ .end = MX21_USBOTG_BASE_ADDR + 0x1FFF,
+ .flags = IORESOURCE_MEM,
+ },
+ {