diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-05-31 22:53:26 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-05-31 22:53:26 +0000 |
commit | a5e8c5446f44f938399efd4d674e35cb52d82191 (patch) | |
tree | a3e9ee03776f0ce4ce5bf9c796ec2ab340e12bfc /target/linux/ar71xx/files/arch/mips/ar71xx/setup.c | |
parent | 68169c24f2bd2c1e045f43e25b637338dcd41c49 (diff) |
ar71xx: add preliminary support for the Atheros AR933x SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27054 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ar71xx/setup.c')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/setup.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c b/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c index 7fd730c15..d70347041 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c @@ -143,10 +143,16 @@ static void __init ar71xx_detect_sys_type(void) } break; - case REV_ID_MAJOR_AR9341: - ar71xx_soc = AR71XX_SOC_AR9341; - chip = "9341"; - rev = id & AR934X_REV_ID_REVISION_MASK; + case REV_ID_MAJOR_AR9330: + ar71xx_soc = AR71XX_SOC_AR9330; + chip = "9330"; + rev = id & AR933X_REV_ID_REVISION_MASK; + break; + + case REV_ID_MAJOR_AR9331: + ar71xx_soc = AR71XX_SOC_AR9331; + chip = "9331"; + rev = id & AR933X_REV_ID_REVISION_MASK; break; case REV_ID_MAJOR_AR9342: |