summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-mx31/clock.h
diff options
context:
space:
mode:
authorMagnus Lilja <lilja.magnus@gmail.com>2018-05-11 14:06:55 +0200
committerStefano Babic <sbabic@denx.de>2018-05-17 12:02:28 +0200
commit71720d67933bc0e5c64480397c3554663f7b9ff4 (patch)
tree90e2c51c24997848f7d959447e9cea7862244a7f /arch/arm/include/asm/arch-mx31/clock.h
parent3159ec64f5d19a123ed944295b4e974b2ee73b52 (diff)
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 <lilja.magnus@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/include/asm/arch-mx31/clock.h')
-rw-r--r--arch/arm/include/asm/arch-mx31/clock.h8
1 files changed, 0 insertions, 8 deletions
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 <common.h>
-#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,