diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-14 10:45:21 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-05-15 17:49:07 +0200 |
commit | d84114660a65e89e27ebd3fb21ce71ff579ee882 (patch) | |
tree | e73cace8d697ad2ad9304630414389c36fd18d29 /arch/mips/include/asm/mach-ath79/ar71xx_regs.h | |
parent | 80a7ed81a840aee97f7650cbeaabb3c2c1765e70 (diff) | |
download | blackbird-op-linux-d84114660a65e89e27ebd3fb21ce71ff579ee882.tar.gz blackbird-op-linux-d84114660a65e89e27ebd3fb21ce71ff579ee882.zip |
MIPS: ath79: add SoC detection code for AR934X
Also add 'soc_is_ar934[124x]' helper functions and a Kconfig
symbol for the AR934X SoCs.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Cc: linux-mips@linux-mips.org
Cc: mcgrof@infradead.org
Patchwork: https://patchwork.linux-mips.org/patch/3506/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-ath79/ar71xx_regs.h')
-rw-r--r-- | arch/mips/include/asm/mach-ath79/ar71xx_regs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h index b7df67494795..4e3c55d4b078 100644 --- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h +++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h @@ -271,6 +271,8 @@ #define AR724X_REV_ID_REVISION_MASK 0x3 +#define AR934X_REV_ID_REVISION_MASK 0xf + /* * SPI block */ |