aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-01-13 12:13:39 +0000
committerJonas Gorski <jogo@openwrt.org>2014-01-13 12:13:39 +0000
commitba2468c4a1f035901f0a13a7c09cae1cd8540de4 (patch)
tree5cab854045bba083771399bcf562c44ada2d4bd0 /target/linux
parentdea433a4e956309b0050a960de9a153a62c9db85 (diff)
downloadmaster-187ad058-ba2468c4a1f035901f0a13a7c09cae1cd8540de4.tar.gz
master-187ad058-ba2468c4a1f035901f0a13a7c09cae1cd8540de4.tar.bz2
master-187ad058-ba2468c4a1f035901f0a13a7c09cae1cd8540de4.zip
brcm63xx: fix the pcie window size
The low PCIe window on BCM6328 and BCM6362 is actually only 1 MiB big, not 16 MiB. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39270 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/brcm63xx/patches-3.10/335-MIPS-BCM63XX-fix-PCIe-memory-window-size.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-3.10/335-MIPS-BCM63XX-fix-PCIe-memory-window-size.patch b/target/linux/brcm63xx/patches-3.10/335-MIPS-BCM63XX-fix-PCIe-memory-window-size.patch
new file mode 100644
index 0000000000..3230add278
--- /dev/null
+++ b/target/linux/brcm63xx/patches-3.10/335-MIPS-BCM63XX-fix-PCIe-memory-window-size.patch
@@ -0,0 +1,20 @@
+From f67f8134b4537c8bbafe7e1975edfe808b813997 Mon Sep 17 00:00:00 2001
+From: Jonas Gorski <jogo@openwrt.org>
+Date: Sun, 8 Dec 2013 03:05:54 +0100
+Subject: [PATCH 45/53] MIPS: BCM63XX: fix PCIe memory window size
+
+---
+ arch/mips/include/asm/mach-bcm63xx/bcm63xx_io.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_io.h
++++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_io.h
+@@ -41,7 +41,7 @@
+ BCM_CB_MEM_SIZE - 1)
+
+ #define BCM_PCIE_MEM_BASE_PA 0x10f00000
+-#define BCM_PCIE_MEM_SIZE (16 * 1024 * 1024)
++#define BCM_PCIE_MEM_SIZE (1 * 1024 * 1024)
+ #define BCM_PCIE_MEM_END_PA (BCM_PCIE_MEM_BASE_PA + \
+ BCM_PCIE_MEM_SIZE - 1)
+