Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b98031e authored by Christoph Egger's avatar Christoph Egger Committed by Ralf Baechle
Browse files

MIPS: Alchemy: Remove dead CONFIG_SOC_AU1000_FREQUENCY



CONFIG_SOC_AU1000_FREQUENCY doesn't exist in Kconfig, therefore
removing all references for it from the source code.

Signed-off-by: default avatarChristoph Egger <siccegge@cs.fau.de>
To: linux-mips@linux-mips.org
To: linux-kernel@vger.kernel.org
Cc: vamos@i4.informatik.uni-erlangen.de
Patchwork: https://patchwork.linux-mips.org/patch/1367/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 4483b159
Loading
Loading
Loading
Loading
+0 −4
Original line number Original line Diff line number Diff line
@@ -89,11 +89,7 @@ unsigned long au1xxx_calc_clock(void)
	 * over backwards trying to determine the frequency.
	 * over backwards trying to determine the frequency.
	 */
	 */
	if (au1xxx_cpu_has_pll_wo())
	if (au1xxx_cpu_has_pll_wo())
#ifdef CONFIG_SOC_AU1000_FREQUENCY
		cpu_speed = CONFIG_SOC_AU1000_FREQUENCY;
#else
		cpu_speed = 396000000;
		cpu_speed = 396000000;
#endif
	else
	else
		cpu_speed = (au_readl(SYS_CPUPLL) & 0x0000003f) * AU1000_SRC_CLK;
		cpu_speed = (au_readl(SYS_CPUPLL) & 0x0000003f) * AU1000_SRC_CLK;