ARM: HYP/non-sec: Fix the ARCH Timer frequency setting.
authorXiubo Li <Li.Xiubo@freescale.com>
Fri, 21 Nov 2014 09:40:55 +0000 (17:40 +0800)
committerYork Sun <yorksun@freescale.com>
Thu, 11 Dec 2014 17:41:45 +0000 (09:41 -0800)
commit73a1cb27c0d9e93d97cd7a344fd341f638ba3a2a
treeeb23effa0293214ada8f650877544efd5a18ce75
parentb8e5c7f94af6b178946ae01ba36ac7fac1e86ec7
ARM: HYP/non-sec: Fix the ARCH Timer frequency setting.

For some SoCs, the system clock frequency may not equal to the
ARCH Timer's frequency.

This patch uses the CONFIG_TIMER_CLK_FREQ instead of
CONFIG_SYS_CLK_FREQ, then the system clock macro and arch timer
macor could be set separately and without interfering each other.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/arm/cpu/armv7/nonsec_virt.S
include/configs/sun7i.h