ar71xx: enable AR9341 support at setup.c
authorGabor Juhos <juhosg@openwrt.org>
Tue, 13 Dec 2011 14:59:43 +0000 (14:59 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 13 Dec 2011 14:59:43 +0000 (14:59 +0000)
Patch-by: dyq <729650915@qq.com>
SVN-Revision: 29514

target/linux/ar71xx/files/arch/mips/ar71xx/setup.c

index c85b02cdce49d3d4c478a28837d94ad4b5eac78c..b1829a6da242db1898414efad6691a5133ac86ca 100644 (file)
@@ -158,6 +158,12 @@ static void __init ar71xx_detect_sys_type(void)
                rev = id & AR933X_REV_ID_REVISION_MASK;
                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:
                ar71xx_soc = AR71XX_SOC_AR9342;
                chip = "9342";