projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ar71xx: add support for ar7241 and ar7242
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
ar71xx
/
files
/
arch
/
mips
/
pci
/
pci-ar724x.c
diff --git
a/target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c
b/target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c
index 3bbad1f3a4e425e148e9321a6aa97e7a0b18b6db..b1f5fa9ee1957403626649672697de017397b022 100644
(file)
--- a/
target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c
+++ b/
target/linux/ar71xx/files/arch/mips/pci/pci-ar724x.c
@@
-248,6
+248,12
@@
static int __init ar724x_pci_setup(void)
return -ENODEV;
}
+ if (ar71xx_soc == AR71XX_SOC_AR7241 || ar71xx_soc == AR71XX_SOC_AR7242) {
+ t = __raw_readl(base + AR724X_PCI_REG_APP);
+ t |= BIT(16);
+ __raw_writel(t, base + AR724X_PCI_REG_APP);
+ }
+
return 0;
}