summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-12-13 14:59:43 +0000
committerGabor Juhos <juhosg@openwrt.org>2011-12-13 14:59:43 +0000
commit2dd7dfb1c983341b9ae1de6ea114d8fdb18d8aa3 (patch)
tree015cc4126bc32179b1bcd281f1b0ffdc09b22e26 /target/linux
parent058998acdb05b859b1a85246fae668132a851756 (diff)
downloadmtk-20170518-2dd7dfb1c983341b9ae1de6ea114d8fdb18d8aa3.zip
mtk-20170518-2dd7dfb1c983341b9ae1de6ea114d8fdb18d8aa3.tar.gz
mtk-20170518-2dd7dfb1c983341b9ae1de6ea114d8fdb18d8aa3.tar.bz2
ar71xx: enable AR9341 support at setup.c
Patch-by: dyq <729650915@qq.com> SVN-Revision: 29514
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/setup.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c b/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c
index c85b02c..b1829a6 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c
@@ -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";