summaryrefslogtreecommitdiff
path: root/include/configs/mx7_common.h
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-07-26 05:57:47 (GMT)
committerStefano Babic <sbabic@denx.de>2016-07-28 11:27:21 (GMT)
commit7626ba488ed4d465902d97da9b163e0e4e054b75 (patch)
tree7bdb8e1bba6a4342f227149bfb5bba7ff53d3492 /include/configs/mx7_common.h
parentec1935a243fcb4368fd8b537872d01d6b967b90f (diff)
downloadu-boot-7626ba488ed4d465902d97da9b163e0e4e054b75.tar.xz
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/mx7_common.h')
-rw-r--r--include/configs/mx7_common.h1
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