]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
sunxi: HYP/non-sec: configure CNTFRQ on all CPUs
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 18 Jul 2014 20:06:39 +0000 (21:06 +0100)
committerHans de Goede <hdegoede@redhat.com>
Thu, 31 Jul 2014 13:37:24 +0000 (15:37 +0200)
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 <marc.zyngier@arm.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
include/configs/sun7i.h

index 2a6a9e82dd8aa2dbca13986cb54d853ccfc61d58..a902b845744707e64fb5a064c6039bc93b0150d9 100644 (file)
@@ -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