aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mx2/patches-2.6.34/020-fix-usb-ioresource.patch
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
commitcc8fabf33ff676e935c035a94ed5d6380ffb4ebe (patch)
tree91eacfa598ce84efa4216adfa1a08013967e0ded /target/linux/mx2/patches-2.6.34/020-fix-usb-ioresource.patch
parent1d31ff06952c3ba830b3fed8a5e7c46bc42c951c (diff)
downloadupstream-cc8fabf33ff676e935c035a94ed5d6380ffb4ebe.tar.gz
upstream-cc8fabf33ff676e935c035a94ed5d6380ffb4ebe.tar.bz2
upstream-cc8fabf33ff676e935c035a94ed5d6380ffb4ebe.zip
[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/020-fix-usb-ioresource.patch')
-rw-r--r--target/linux/mx2/patches-2.6.34/020-fix-usb-ioresource.patch22
1 files changed, 22 insertions, 0 deletions
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,
+ },
+ {