diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-12-13 14:59:43 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-12-13 14:59:43 +0000 |
commit | 2329eaffaca1aa00aee819d526da0ece3b5b865c (patch) | |
tree | 0bdee2a881b948398df6855125436023da302007 /target/linux | |
parent | 041a6265f8c1a64d4b4ec32d8bcaababdf6e2baa (diff) | |
download | master-187ad058-2329eaffaca1aa00aee819d526da0ece3b5b865c.tar.gz master-187ad058-2329eaffaca1aa00aee819d526da0ece3b5b865c.tar.bz2 master-187ad058-2329eaffaca1aa00aee819d526da0ece3b5b865c.zip |
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
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/setup.c | 6 |
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 c85b02cdce..b1829a6da2 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"; |