| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH 2/2] MIPS: pci-ar71xx: fix AR71XX_PCI_MEM_SIZE |
| From: | Gabor Juhos <juhosg@openwrt.org> |
| Date: | Tue, 29 Jan 2013 10:27:04 +0100 |
| Cc: | John Crispin <blogic@openwrt.org>, linux-mips <linux-mips@linux-mips.org>, Gabor Juhos <juhosg@openwrt.org> |
| In-reply-to: | <1359451624-13759-1-git-send-email-juhosg@openwrt.org> |
| List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
| List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
| List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
| List-owner: | <mailto:ralf@linux-mips.org> |
| List-post: | <mailto:linux-mips@linux-mips.org> |
| List-software: | Ecartis version 1.0.0 |
| List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
| List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
| References: | <1359451624-13759-1-git-send-email-juhosg@openwrt.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
The base address of the PCI memory is 0x10000000 and the base address of the PCI configuration space is 0x17000000 on the AR71xx SoCs. The AR71XX_PCI_MEM_SIZE is defined as 0x08000000 which is wrong because that overlaps with the configuration space. The patch fixes the value of the AR71XX_PCI_MEM_SIZE constant, in order to avoid this resource conflicts. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> --- arch/mips/pci/pci-ar71xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/pci/pci-ar71xx.c b/arch/mips/pci/pci-ar71xx.c index 1552522..6eaa4f2 100644 --- a/arch/mips/pci/pci-ar71xx.c +++ b/arch/mips/pci/pci-ar71xx.c @@ -24,7 +24,7 @@ #include <asm/mach-ath79/pci.h> #define AR71XX_PCI_MEM_BASE 0x10000000 -#define AR71XX_PCI_MEM_SIZE 0x08000000 +#define AR71XX_PCI_MEM_SIZE 0x07000000 #define AR71XX_PCI_WIN0_OFFS 0x10000000 #define AR71XX_PCI_WIN1_OFFS 0x11000000 -- 1.7.10 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 1/2] MIPS: pci-ar724x: fix AR724X_PCI_MEM_SIZE, Gabor Juhos |
|---|---|
| Next by Date: | [PATCH] MIPS: ath79: simplify MISC IRQ handling, Gabor Juhos |
| Previous by Thread: | [PATCH 1/2] MIPS: pci-ar724x: fix AR724X_PCI_MEM_SIZE, Gabor Juhos |
| Next by Thread: | [PATCH] MIPS: ath79: simplify MISC IRQ handling, Gabor Juhos |
| Indexes: | [Date] [Thread] [Top] [All Lists] |