Skip to content

Commit

Permalink
MIPS: AR724x: Fix AR724X_PCI_MEM_SIZE
Browse files Browse the repository at this point in the history
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 <[email protected]>
Patchwork: http://patchwork.linux-mips.org/patch/4872/
Signed-off-by: John Crispin <[email protected]>
Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
juhosg authored and ralfbaechle committed Jan 30, 2013
1 parent 79d61a0 commit 4c96091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/pci/pci-ar724x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4c96091

Please sign in to comment.