aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/alchemy/common/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/alchemy/common/setup.c')
-rw-r--r--arch/mips/alchemy/common/setup.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/alchemy/common/setup.c b/arch/mips/alchemy/common/setup.c
index 4d42be811e7f..8ad453af2c64 100644
--- a/arch/mips/alchemy/common/setup.c
+++ b/arch/mips/alchemy/common/setup.c
@@ -63,12 +63,6 @@ void __init plat_mem_setup(void)
63 ioport_resource.end = IOPORT_RESOURCE_END; 63 ioport_resource.end = IOPORT_RESOURCE_END;
64 iomem_resource.start = IOMEM_RESOURCE_START; 64 iomem_resource.start = IOMEM_RESOURCE_START;
65 iomem_resource.end = IOMEM_RESOURCE_END; 65 iomem_resource.end = IOMEM_RESOURCE_END;
66
67 while (au_readl(SYS_COUNTER_CNTRL) & SYS_CNTRL_E0S);
68 au_writel(SYS_CNTRL_E0 | SYS_CNTRL_EN0, SYS_COUNTER_CNTRL);
69 au_sync();
70 while (au_readl(SYS_COUNTER_CNTRL) & SYS_CNTRL_T0S);
71 au_writel(0, SYS_TOYTRIM);
72} 66}
73 67
74#if defined(CONFIG_64BIT_PHYS_ADDR) 68#if defined(CONFIG_64BIT_PHYS_ADDR)