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/mach-imx/mx3/Kconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'arch/arm/mach-imx/mx3') diff --git a/arch/arm/mach-imx/mx3/Kconfig b/arch/arm/mach-imx/mx3/Kconfig index bf6a1c69275..6cc970fc499 100644 --- a/arch/arm/mach-imx/mx3/Kconfig +++ b/arch/arm/mach-imx/mx3/Kconfig @@ -15,6 +15,20 @@ config TARGET_MX31PDK endchoice +config MX31_HCLK_FREQ + int "i.MX31 HCLK frequency" + default 26000000 + help + Frequency in Hz of the high frequency input clock. Typically + 26000000 Hz. + +config MX31_CLK32 + int "i.MX31 CLK32 Frequency" + default 32768 + help + Frequency in Hz of the low frequency input clock. Typically + 32768 or 32000 Hz. + source "board/freescale/mx31pdk/Kconfig" endif -- cgit v1.2.3