aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/pci-ar71xx.c
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-04 05:56:53 -0500
committerJohn Crispin <blogic@openwrt.org>2013-02-16 19:25:35 -0500
commitad4ce92e919f7ad5561a2060deb58899de58b40c (patch)
treeafdb8e34ae87d800095b901b21b822b31b7578da /arch/mips/pci/pci-ar71xx.c
parentfb167e891d5cc6386840dd092af2d461b38eb802 (diff)
MIPS: ath79: move global PCI defines into a common header
The constants will be used by a subsequent patch. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/4907/ Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/pci/pci-ar71xx.c')
-rw-r--r--arch/mips/pci/pci-ar71xx.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/mips/pci/pci-ar71xx.c b/arch/mips/pci/pci-ar71xx.c
index 0d8412fc5047..35ee23450d87 100644
--- a/arch/mips/pci/pci-ar71xx.c
+++ b/arch/mips/pci/pci-ar71xx.c
@@ -25,22 +25,6 @@
25#include <asm/mach-ath79/ath79.h> 25#include <asm/mach-ath79/ath79.h>
26#include <asm/mach-ath79/pci.h> 26#include <asm/mach-ath79/pci.h>
27 27
28#define AR71XX_PCI_MEM_BASE 0x10000000
29#define AR71XX_PCI_MEM_SIZE 0x07000000
30
31#define AR71XX_PCI_WIN0_OFFS 0x10000000
32#define AR71XX_PCI_WIN1_OFFS 0x11000000
33#define AR71XX_PCI_WIN2_OFFS 0x12000000
34#define AR71XX_PCI_WIN3_OFFS 0x13000000
35#define AR71XX_PCI_WIN4_OFFS 0x14000000
36#define AR71XX_PCI_WIN5_OFFS 0x15000000
37#define AR71XX_PCI_WIN6_OFFS 0x16000000
38#define AR71XX_PCI_WIN7_OFFS 0x07000000
39
40#define AR71XX_PCI_CFG_BASE \
41 (AR71XX_PCI_MEM_BASE + AR71XX_PCI_WIN7_OFFS + 0x10000)
42#define AR71XX_PCI_CFG_SIZE 0x100
43
44#define AR71XX_PCI_REG_CRP_AD_CBE 0x00 28#define AR71XX_PCI_REG_CRP_AD_CBE 0x00
45#define AR71XX_PCI_REG_CRP_WRDATA 0x04 29#define AR71XX_PCI_REG_CRP_WRDATA 0x04
46#define AR71XX_PCI_REG_CRP_RDDATA 0x08 30#define AR71XX_PCI_REG_CRP_RDDATA 0x08