From 71720d67933bc0e5c64480397c3554663f7b9ff4 Mon Sep 17 00:00:00 2001 From: Magnus Lilja Date: Fri, 11 May 2018 14:06:55 +0200 Subject: mx31: Convert MX31_HCLK_FREQ and MX31_CLK32 to Kconfig. Also remove the #ifdef's from clock.h since the Kconfig values defaults the to old default values in clock.h. Signed-off-by: Magnus Lilja Reviewed-by: Tom Rini --- arch/arm/include/asm/arch-mx31/clock.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'arch/arm/include/asm/arch-mx31') diff --git a/arch/arm/include/asm/arch-mx31/clock.h b/arch/arm/include/asm/arch-mx31/clock.h index e340db42fa..aafc2d690e 100644 --- a/arch/arm/include/asm/arch-mx31/clock.h +++ b/arch/arm/include/asm/arch-mx31/clock.h @@ -9,17 +9,9 @@ #include -#ifdef CONFIG_MX31_HCLK_FREQ #define MXC_HCLK CONFIG_MX31_HCLK_FREQ -#else -#define MXC_HCLK 26000000 -#endif -#ifdef CONFIG_MX31_CLK32 #define MXC_CLK32 CONFIG_MX31_CLK32 -#else -#define MXC_CLK32 32768 -#endif enum mxc_clock { MXC_ARM_CLK, -- cgit v1.2.3