summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
diff options
context:
space:
mode:
authorGabor Juhos2012-03-14 10:45:21 +0100
committerRalf Baechle2012-05-15 17:49:07 +0200
commitd84114660a65e89e27ebd3fb21ce71ff579ee882 (patch)
treee73cace8d697ad2ad9304630414389c36fd18d29 /arch/mips/include/asm/mach-ath79/ar71xx_regs.h
parentMIPS: ath79: sort case statements in ath79_detect_sys_type (diff)
downloadkernel-qcow2-linux-d84114660a65e89e27ebd3fb21ce71ff579ee882.tar.gz
kernel-qcow2-linux-d84114660a65e89e27ebd3fb21ce71ff579ee882.tar.xz
kernel-qcow2-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.h2
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
*/