summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx
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/mach-imx
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/mach-imx')
-rw-r--r--arch/arm/mach-imx/mx3/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mx3/Kconfig b/arch/arm/mach-imx/mx3/Kconfig
index bf6a1c6927..6cc970fc49 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