diff options
Diffstat (limited to 'arch/mips/include/asm/mach-ath79/ath79.h')
-rw-r--r-- | arch/mips/include/asm/mach-ath79/ath79.h | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/arch/mips/include/asm/mach-ath79/ath79.h b/arch/mips/include/asm/mach-ath79/ath79.h index 4f248c3d7b2..6a9f168506f 100644 --- a/arch/mips/include/asm/mach-ath79/ath79.h +++ b/arch/mips/include/asm/mach-ath79/ath79.h | |||
@@ -26,16 +26,10 @@ enum ath79_soc_type { | |||
26 | ATH79_SOC_AR7241, | 26 | ATH79_SOC_AR7241, |
27 | ATH79_SOC_AR7242, | 27 | ATH79_SOC_AR7242, |
28 | ATH79_SOC_AR9130, | 28 | ATH79_SOC_AR9130, |
29 | ATH79_SOC_AR9132, | 29 | ATH79_SOC_AR9132 |
30 | ATH79_SOC_AR9330, | ||
31 | ATH79_SOC_AR9331, | ||
32 | ATH79_SOC_AR9341, | ||
33 | ATH79_SOC_AR9342, | ||
34 | ATH79_SOC_AR9344, | ||
35 | }; | 30 | }; |
36 | 31 | ||
37 | extern enum ath79_soc_type ath79_soc; | 32 | extern enum ath79_soc_type ath79_soc; |
38 | extern unsigned int ath79_soc_rev; | ||
39 | 33 | ||
40 | static inline int soc_is_ar71xx(void) | 34 | static inline int soc_is_ar71xx(void) |
41 | { | 35 | { |
@@ -72,32 +66,6 @@ static inline int soc_is_ar913x(void) | |||
72 | ath79_soc == ATH79_SOC_AR9132); | 66 | ath79_soc == ATH79_SOC_AR9132); |
73 | } | 67 | } |
74 | 68 | ||
75 | static inline int soc_is_ar933x(void) | ||
76 | { | ||
77 | return (ath79_soc == ATH79_SOC_AR9330 || | ||
78 | ath79_soc == ATH79_SOC_AR9331); | ||
79 | } | ||
80 | |||
81 | static inline int soc_is_ar9341(void) | ||
82 | { | ||
83 | return (ath79_soc == ATH79_SOC_AR9341); | ||
84 | } | ||
85 | |||
86 | static inline int soc_is_ar9342(void) | ||
87 | { | ||
88 | return (ath79_soc == ATH79_SOC_AR9342); | ||
89 | } | ||
90 | |||
91 | static inline int soc_is_ar9344(void) | ||
92 | { | ||
93 | return (ath79_soc == ATH79_SOC_AR9344); | ||
94 | } | ||
95 | |||
96 | static inline int soc_is_ar934x(void) | ||
97 | { | ||
98 | return soc_is_ar9341() || soc_is_ar9342() || soc_is_ar9344(); | ||
99 | } | ||
100 | |||
101 | extern void __iomem *ath79_ddr_base; | 69 | extern void __iomem *ath79_ddr_base; |
102 | extern void __iomem *ath79_pll_base; | 70 | extern void __iomem *ath79_pll_base; |
103 | extern void __iomem *ath79_reset_base; | 71 | extern void __iomem *ath79_reset_base; |