aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-3.6/141-MIPS-pci-ar724x-use-correct-value-for-AR724X_PCI_MEM.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-10-28 19:52:02 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-10-28 19:52:02 +0000
commita8ec452c60ed3281e29de6fa012f4940b4c3fbc3 (patch)
tree81e47efe735c4cde24370d77b47e0ab60a84c197 /target/linux/ar71xx/patches-3.6/141-MIPS-pci-ar724x-use-correct-value-for-AR724X_PCI_MEM.patch
parentb783fb21a53535cf043189b0c4c30f315f494bb5 (diff)
downloadmaster-187ad058-a8ec452c60ed3281e29de6fa012f4940b4c3fbc3.tar.gz
master-187ad058-a8ec452c60ed3281e29de6fa012f4940b4c3fbc3.tar.bz2
master-187ad058-a8ec452c60ed3281e29de6fa012f4940b4c3fbc3.zip
ar71xx: add initial support for 3.6
The nand subtarget is not working yet. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33983 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/patches-3.6/141-MIPS-pci-ar724x-use-correct-value-for-AR724X_PCI_MEM.patch')
-rw-r--r--target/linux/ar71xx/patches-3.6/141-MIPS-pci-ar724x-use-correct-value-for-AR724X_PCI_MEM.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.6/141-MIPS-pci-ar724x-use-correct-value-for-AR724X_PCI_MEM.patch b/target/linux/ar71xx/patches-3.6/141-MIPS-pci-ar724x-use-correct-value-for-AR724X_PCI_MEM.patch
new file mode 100644
index 0000000000..d409a7a6a1
--- /dev/null
+++ b/target/linux/ar71xx/patches-3.6/141-MIPS-pci-ar724x-use-correct-value-for-AR724X_PCI_MEM.patch
@@ -0,0 +1,24 @@
+From 4b0f8aaea1f9e2f931c4de785d9ce46ff7164627 Mon Sep 17 00:00:00 2001
+From: Gabor Juhos <juhosg@openwrt.org>
+Date: Sun, 17 Jun 2012 12:55:24 +0200
+Subject: [PATCH 02/34] MIPS: pci-ar724x: use correct value for AR724X_PCI_MEM_SIZE
+
+The current definiton is wrong, it is conflicting
+with AR724X_PCI_CFG_BASE.
+
+Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
+---
+ arch/mips/pci/pci-ar724x.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+--- a/arch/mips/pci/pci-ar724x.c
++++ b/arch/mips/pci/pci-ar724x.c
+@@ -21,7 +21,7 @@
+ #define AR724X_PCI_CTRL_SIZE 0x100
+
+ #define AR724X_PCI_MEM_BASE 0x10000000
+-#define AR724X_PCI_MEM_SIZE 0x08000000
++#define AR724X_PCI_MEM_SIZE 0x04000000
+
+ #define AR724X_PCI_REG_RESET 0x18
+ #define AR724X_PCI_REG_INT_STATUS 0x4c