SHA256
1
0
forked from pool/u-boot
u-boot/0003-exynos-Set-CNTFRQ.patch

40 lines
1.1 KiB
Diff

From a5026e4f60cc43cc9d5e685643f306140b53ba03 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf@suse.de>
Date: Mon, 1 Feb 2016 21:41:06 +0100
Subject: [PATCH 3/3] exynos: Set CNTFRQ
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
---
v1 -> v2:
- Map to CONFIG_SYS_CLK_FREQ instead of redefining to the same number
---
include/configs/exynos-common.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/exynos-common.h b/include/configs/exynos-common.h
index f97f03c..98474d3 100644
--- a/include/configs/exynos-common.h
+++ b/include/configs/exynos-common.h
@@ -29,6 +29,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
--
1.8.5.6