1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

ar71xx: add support for ar7241 and ar7242

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20494 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2010-03-26 22:35:41 +00:00
parent c363de958e
commit fd3222baa4
9 changed files with 73 additions and 12 deletions

View File

@@ -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;
}