ar71xx: merge machine patches
[openwrt.git] / target / linux / ar71xx / patches-3.6 / 141-MIPS-pci-ar724x-use-correct-value-for-AR724X_PCI_MEM.patch
1 From 4b0f8aaea1f9e2f931c4de785d9ce46ff7164627 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Sun, 17 Jun 2012 12:55:24 +0200
4 Subject: [PATCH 02/34] MIPS: pci-ar724x: use correct value for AR724X_PCI_MEM_SIZE
5
6 The current definiton is wrong, it is conflicting
7 with AR724X_PCI_CFG_BASE.
8
9 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
10 ---
11  arch/mips/pci/pci-ar724x.c |    2 +-
12  1 files changed, 1 insertions(+), 1 deletions(-)
13
14 --- a/arch/mips/pci/pci-ar724x.c
15 +++ b/arch/mips/pci/pci-ar724x.c
16 @@ -21,7 +21,7 @@
17  #define AR724X_PCI_CTRL_SIZE   0x100
18  
19  #define AR724X_PCI_MEM_BASE    0x10000000
20 -#define AR724X_PCI_MEM_SIZE    0x08000000
21 +#define AR724X_PCI_MEM_SIZE    0x04000000
22  
23  #define AR724X_PCI_REG_RESET           0x18
24  #define AR724X_PCI_REG_INT_STATUS      0x4c