]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
exynos: Set CNTFRQ
authorAlexander Graf <agraf@suse.de>
Thu, 10 Mar 2016 13:18:44 +0000 (14:18 +0100)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 14 Apr 2016 10:41:05 +0000 (19:41 +0900)
Commit 73a1cb27 moved the check whether we should set the architected
timer frequency from CONFIG_SYS_CLK_FREQ to CONFIG_TIMER_CLK_FREQ, but
did not update all users of it.

The one where I (finally) realized why KVM didn't work is the Arndale
board, so this patch adds the respective define to it.

Signed-off-by: Alexander Graf <agraf@suse.de>
Fixes: 73a1cb27
Reviewed-by: York Sun <york.sun@nxp.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
include/configs/exynos-common.h

index 852829c344c5c1538812db1eb2a33db5187bb0bb..b61f889b5ccc103a60e370e69060f0fd8fba5643 100644 (file)
@@ -31,6 +31,7 @@
 
 /* input clock of PLL: 24MHz input clock */
 #define CONFIG_SYS_CLK_FREQ            24000000
+#define CONFIG_TIMER_CLK_FREQ          CONFIG_SYS_CLK_FREQ
 
 #define CONFIG_SETUP_MEMORY_TAGS
 #define CONFIG_CMDLINE_TAG