diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-02-03 18:52:47 +0400 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-02-17 04:25:39 +0400 |
commit | 12401fc28d40aa5bf8bda6991a96b6d7a3dae3ac (patch) | |
tree | d882d6fc588107ee1ba9a5c3d92660641451b2df /arch/mips/include/asm/mach-ath79/ar71xx_regs.h | |
parent | 8b66d461187ff61c5755001af7296e6edde48423 (diff) | |
download | linux-12401fc28d40aa5bf8bda6991a96b6d7a3dae3ac.tar.xz |
MIPS: pci-ar724x: setup command register of the PCI controller
The command register of the PCI controller is
not initialized correctly by the bootloader on
some boards and this leads to non working PCI
bus.
Add code to initialize the command register
from the Linux code to avoid this.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/4916/
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/include/asm/mach-ath79/ar71xx_regs.h')
-rw-r--r-- | arch/mips/include/asm/mach-ath79/ar71xx_regs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h index 7c87bfe6e4ff..a77f6ee70ec1 100644 --- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h +++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h @@ -67,6 +67,8 @@ #define AR724X_PCI_CFG_BASE 0x14000000 #define AR724X_PCI_CFG_SIZE 0x1000 +#define AR724X_PCI_CRP_BASE (AR71XX_APB_BASE + 0x000c0000) +#define AR724X_PCI_CRP_SIZE 0x1000 #define AR724X_PCI_CTRL_BASE (AR71XX_APB_BASE + 0x000f0000) #define AR724X_PCI_CTRL_SIZE 0x100 |