1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 04:56:14 +02:00

ar71xx: enable AR9341 support at setup.c

Patch-by: dyq <729650915@qq.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29514 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2011-12-13 14:59:43 +00:00
parent 6caa8876b2
commit 17595c4da2

View File

@ -158,6 +158,12 @@ static void __init ar71xx_detect_sys_type(void)
rev = id & AR933X_REV_ID_REVISION_MASK; rev = id & AR933X_REV_ID_REVISION_MASK;
break; break;
case REV_ID_MAJOR_AR9341:
ar71xx_soc = AR71XX_SOC_AR9341;
chip = "9341";
rev = id & AR934X_REV_ID_REVISION_MASK;
break;
case REV_ID_MAJOR_AR9342: case REV_ID_MAJOR_AR9342:
ar71xx_soc = AR71XX_SOC_AR9342; ar71xx_soc = AR71XX_SOC_AR9342;
chip = "9342"; chip = "9342";