aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/lantiq
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-04-19 10:23:14 -0400
committerRalf Baechle <ralf@linux-mips.org>2012-05-26 14:52:57 -0400
commit009d6914f14d6c12a073e9ff8506a53047c308e7 (patch)
tree53ea742badb13e0ff55722b97ecce91ed26002b0 /arch/mips/lantiq
parentd41ced01f21ddd2c3a01531bb9edf6c41064e9fc (diff)
MIPS: lantiq: remove orphaned code
Now that all drivers are converted to OF we are able to remove some remaining pieces of orphaned code. Signed-off-by: John Crispin <blogic@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3841/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/lantiq')
-rw-r--r--arch/mips/lantiq/prom.c6
-rw-r--r--arch/mips/lantiq/xway/sysctrl.c4
2 files changed, 4 insertions, 6 deletions
diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c
index 413ed53a4ae1..d185e8477fdf 100644
--- a/arch/mips/lantiq/prom.c
+++ b/arch/mips/lantiq/prom.c
@@ -27,12 +27,6 @@ EXPORT_SYMBOL_GPL(ebu_lock);
27 */ 27 */
28static struct ltq_soc_info soc_info; 28static struct ltq_soc_info soc_info;
29 29
30unsigned int ltq_get_soc_type(void)
31{
32 return soc_info.type;
33}
34EXPORT_SYMBOL(ltq_get_soc_type);
35
36const char *get_system_type(void) 30const char *get_system_type(void)
37{ 31{
38 return soc_info.sys_type; 32 return soc_info.sys_type;
diff --git a/arch/mips/lantiq/xway/sysctrl.c b/arch/mips/lantiq/xway/sysctrl.c
index 4d6aac693535..83780f7c842b 100644
--- a/arch/mips/lantiq/xway/sysctrl.c
+++ b/arch/mips/lantiq/xway/sysctrl.c
@@ -42,6 +42,7 @@
42/* clock gates that we can en/disable */ 42/* clock gates that we can en/disable */
43#define PMU_USB0_P BIT(0) 43#define PMU_USB0_P BIT(0)
44#define PMU_PCI BIT(4) 44#define PMU_PCI BIT(4)
45#define PMU_DMA BIT(5)
45#define PMU_USB0 BIT(6) 46#define PMU_USB0 BIT(6)
46#define PMU_ASC0 BIT(7) 47#define PMU_ASC0 BIT(7)
47#define PMU_EPHY BIT(7) /* ase */ 48#define PMU_EPHY BIT(7) /* ase */
@@ -49,7 +50,9 @@
49#define PMU_DFE BIT(9) 50#define PMU_DFE BIT(9)
50#define PMU_EBU BIT(10) 51#define PMU_EBU BIT(10)
51#define PMU_STP BIT(11) 52#define PMU_STP BIT(11)
53#define PMU_GPT BIT(12)
52#define PMU_AHBS BIT(13) /* vr9 */ 54#define PMU_AHBS BIT(13) /* vr9 */
55#define PMU_FPI BIT(14)
53#define PMU_AHBM BIT(15) 56#define PMU_AHBM BIT(15)
54#define PMU_ASC1 BIT(17) 57#define PMU_ASC1 BIT(17)
55#define PMU_PPE_QSB BIT(18) 58#define PMU_PPE_QSB BIT(18)
@@ -60,6 +63,7 @@
60#define PMU_PPE_DPLUS BIT(24) 63#define PMU_PPE_DPLUS BIT(24)
61#define PMU_USB1_P BIT(26) 64#define PMU_USB1_P BIT(26)
62#define PMU_USB1 BIT(27) 65#define PMU_USB1 BIT(27)
66#define PMU_SWITCH BIT(28)
63#define PMU_PPE_TOP BIT(29) 67#define PMU_PPE_TOP BIT(29)
64#define PMU_GPHY BIT(30) 68#define PMU_GPHY BIT(30)
65#define PMU_PCIE_CLK BIT(31) 69#define PMU_PCIE_CLK BIT(31)