From: Stefan Agner Date: Tue, 26 Jul 2016 05:57:47 +0000 (-0700) Subject: mx7_common: initialize generic timer on all CPU's X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=7626ba488ed4d465902d97da9b163e0e4e054b75;p=u-boot.git mx7_common: initialize generic timer on all CPU's 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 --- diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h index 9f80f9f961..7295fa6199 100644 --- a/include/configs/mx7_common.h +++ b/include/configs/mx7_common.h @@ -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