mx7_common: initialize generic timer on all CPU's
authorStefan Agner <stefan.agner@toradex.com>
Tue, 26 Jul 2016 05:57:47 +0000 (22:57 -0700)
committerStefano Babic <sbabic@denx.de>
Thu, 28 Jul 2016 11:27:21 +0000 (13:27 +0200)
Use CONFIG_TIMER_CLK_FREQ to let the non-secure init code initialize
the generic timer on all CPU's. This allows to make use of the timer
freuquency register also on other CPU than the start CPU which is
important for KVM.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
include/configs/mx7_common.h

index 9f80f9f9617fcdb501d190293448a075fa4a5bdc..7295fa619989a54effa4d83a3bdad6cb09c49e48 100644 (file)
@@ -21,6 +21,7 @@
 #define CONFIG_MXC_GPT_HCLK
 #define CONFIG_SYSCOUNTER_TIMER
 #define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */
+#define CONFIG_TIMER_CLK_FREQ CONFIG_SC_TIMER_CLK
 #define CONFIG_SYS_FSL_CLK
 
 #define CONFIG_SYS_BOOTM_LEN   0x1000000