From: Xiubo Li
Date: Thu, 11 Dec 2014 19:15:26 +0000 (-0800)
Subject: ARM: HYP/non-sec: Fix the ARCH Timer frequency setting for sun7i
X-Git-Tag: v2015.01-rc4~29^2
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d0419f400af6f4bbe5c4ee5c97f6fbbdedec6cf3;p=u-boot
ARM: HYP/non-sec: Fix the ARCH Timer frequency setting for sun7i
Earlier commit 73a1cb27 mistakenly used CONFIG_SYS_TIMER_CLK_FREQ.
It should be CONFIG_TIMER_CLK_FREQ.
Signed-off-by: Xiubo Li
[York Sun: This is the difference between two patch versions]
Reviewed-by: York Sun
---
diff --git a/include/configs/sun7i.h b/include/configs/sun7i.h
index 4426d24e57..ccec50c328 100644
--- a/include/configs/sun7i.h
+++ b/include/configs/sun7i.h
@@ -25,7 +25,7 @@
#define CONFIG_ARMV7_PSCI 1
#define CONFIG_ARMV7_SECURE_BASE SUNXI_SRAM_B_BASE
#define CONFIG_SYS_CLK_FREQ 24000000
-#define CONFIG_SYS_TIMER_CLK_FREQ CONFIG_SYS_CLK_FREQ
+#define CONFIG_TIMER_CLK_FREQ CONFIG_SYS_CLK_FREQ
/*
* Include common sunxi configuration where most the settings are