aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mx2/patches-2.6.34
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-04-10 18:37:34 +0000
committerLars-Peter Clausen <lars@metafoo.de>2010-04-10 18:37:34 +0000
commit1d8823ae6163ffde33a3acf0da8f1f1865d05efc (patch)
treea3a5ab8e4a1580e2e5bbfa383a410846d69924b0 /target/linux/mx2/patches-2.6.34
parent135c4b8d05fb456aa9a866e585c256fe9d395e31 (diff)
downloadupstream-1d8823ae6163ffde33a3acf0da8f1f1865d05efc.tar.gz
upstream-1d8823ae6163ffde33a3acf0da8f1f1865d05efc.tar.bz2
upstream-1d8823ae6163ffde33a3acf0da8f1f1865d05efc.zip
Add mx2 target with very basic support for the vp6500 voip phone
SVN-Revision: 20786
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 0000000000..42d0e1e3f1
--- /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 0000000000..39075f5e2b
--- /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 0000000000..dae59b15d7
--- /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,
+ },
+ {