diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-02-02 18:17:58 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-02-02 18:17:58 +0000 |
commit | b8b1ad3912846a92d2ef698deb5f105fa6008271 (patch) | |
tree | 86a2aa666920e00d5ffc08d2f71578089fdacff1 /target/linux/ar71xx/patches-3.7/002-MIPS-AR724x-Fix-AR724X_PCI_MEM_SIZE.patch | |
parent | b7511b4489eed6ccd329ee528511341deddd144d (diff) |
ar71xx: use backported PCI_MEM_SIZE patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35470 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/patches-3.7/002-MIPS-AR724x-Fix-AR724X_PCI_MEM_SIZE.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.7/002-MIPS-AR724x-Fix-AR724X_PCI_MEM_SIZE.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-3.7/002-MIPS-AR724x-Fix-AR724X_PCI_MEM_SIZE.patch b/target/linux/ar71xx/patches-3.7/002-MIPS-AR724x-Fix-AR724X_PCI_MEM_SIZE.patch new file mode 100644 index 000000000..ecda5c8b9 --- /dev/null +++ b/target/linux/ar71xx/patches-3.7/002-MIPS-AR724x-Fix-AR724X_PCI_MEM_SIZE.patch @@ -0,0 +1,39 @@ +From 4c960910e2fb3a301ee4a504fa6b2c5204efeab0 Mon Sep 17 00:00:00 2001 +From: Gabor Juhos <juhosg@openwrt.org> +Date: Tue, 29 Jan 2013 08:27:03 +0000 +Subject: [PATCH] MIPS: AR724x: Fix AR724X_PCI_MEM_SIZE + +commit 4c960910e2fb3a301ee4a504fa6b2c5204efeab0 upstream. + +The base address of the PCI memory is +0x10000000 and the base address of the +PCI configuration space is 0x14000000 +on the AR724x SoCs. + +The AR724X_PCI_MEM_SIZE is defined as +0x08000000 which is wrong because that +overlaps with the configuration space. + +The patch fixes the value of the +AR724X_PCI_MEM_SIZE constant, in order +to avoid this resource conflicts. + +Signed-off-by: Gabor Juhos <juhosg@openwrt.org> +Patchwork: http://patchwork.linux-mips.org/patch/4872/ +Signed-off-by: John Crispin <blogic@openwrt.org> +Signed-off-by: Ralf Baechle <ralf@linux-mips.org> +--- + arch/mips/pci/pci-ar724x.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- 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 |