diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2016-07-25 22:57:47 -0700 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-07-28 13:27:21 +0200 |
commit | 7626ba488ed4d465902d97da9b163e0e4e054b75 (patch) | |
tree | 7bdb8e1bba6a4342f227149bfb5bba7ff53d3492 /include/configs | |
parent | ec1935a243fcb4368fd8b537872d01d6b967b90f (diff) | |
download | u-boot-imx-7626ba488ed4d465902d97da9b163e0e4e054b75.zip u-boot-imx-7626ba488ed4d465902d97da9b163e0e4e054b75.tar.gz u-boot-imx-7626ba488ed4d465902d97da9b163e0e4e054b75.tar.bz2 |
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 <stefan.agner@toradex.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/mx7_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h index 9f80f9f..7295fa6 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 |