linux-mips
[Top] [All Lists]

[PATCH 1/9] Removing dead CONFIG_SOC_AU1000_FREQUENCY

To: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
Subject: [PATCH 1/9] Removing dead CONFIG_SOC_AU1000_FREQUENCY
From: Christoph Egger <siccegge@cs.fau.de>
Date: Wed, 9 Jun 2010 13:20:23 +0200
Cc: vamos@i4.informatik.uni-erlangen.de
In-reply-to: <cover.1275925108.git.siccegge@cs.fau.de>
References: <cover.1275925108.git.siccegge@cs.fau.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.20 (2009-06-14)
CONFIG_SOC_AU1000_FREQUENCY doesn't exist in Kconfig, therefore
removing all references for it from the source code.

Signed-off-by: Christoph Egger <siccegge@cs.fau.de>
---
 arch/mips/alchemy/common/clocks.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/arch/mips/alchemy/common/clocks.c 
b/arch/mips/alchemy/common/clocks.c
index 460c628..af0fe41 100644
--- a/arch/mips/alchemy/common/clocks.c
+++ b/arch/mips/alchemy/common/clocks.c
@@ -89,11 +89,7 @@ unsigned long au1xxx_calc_clock(void)
         * over backwards trying to determine the frequency.
         */
        if (au1xxx_cpu_has_pll_wo())
-#ifdef CONFIG_SOC_AU1000_FREQUENCY
-               cpu_speed = CONFIG_SOC_AU1000_FREQUENCY;
-#else
                cpu_speed = 396000000;
-#endif
        else
                cpu_speed = (au_readl(SYS_CPUPLL) & 0x0000003f) * 
AU1000_SRC_CLK;
 
-- 
1.6.3.3


<Prev in Thread] Current Thread [Next in Thread>