From: Marc Zyngier Date: Fri, 18 Jul 2014 20:06:39 +0000 (+0100) Subject: sunxi: HYP/non-sec: configure CNTFRQ on all CPUs X-Git-Tag: v2014.10-rc2~51^2~5^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cb4ccf2f21468aabd877495cff22c2117c98f8c6;p=oweals%2Fu-boot.git sunxi: HYP/non-sec: configure CNTFRQ on all CPUs CNTFRQ needs to be properly configured on all CPUs. Otherwise, virtual machines hoping to find valuable information on secondary CPUs will be disapointed... Signed-off-by: Marc Zyngier Acked-by: Hans de Goede Signed-off-by: Hans de Goede --- diff --git a/include/configs/sun7i.h b/include/configs/sun7i.h index 2a6a9e82dd..a902b84574 100644 --- a/include/configs/sun7i.h +++ b/include/configs/sun7i.h @@ -34,6 +34,7 @@ #define CONFIG_ARMV7_PSCI 1 #define CONFIG_ARMV7_PSCI_NR_CPUS 2 #define CONFIG_ARMV7_SECURE_BASE SUNXI_SRAM_B_BASE +#define CONFIG_SYS_CLK_FREQ 24000000 /* * Include common sunxi configuration where most the settings are