From: Ian Campbell Date: Fri, 18 Jul 2014 21:06:39 +0100 Subject: [U-Boot] [PATCH v5 2/2] sunxi: HYP/non-sec: configure CNTFRQ on all CPUs In-Reply-To: <1405713965.26270.30.camel@hastur.hellion.org.uk> References: <1405713965.26270.30.camel@hastur.hellion.org.uk> Message-ID: <1405713999-9297-2-git-send-email-ijc@hellion.org.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Marc Zyngier 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 --- include/configs/sun7i.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/sun7i.h b/include/configs/sun7i.h index 5b5801d..f82431c 100644 --- a/include/configs/sun7i.h +++ b/include/configs/sun7i.h @@ -21,6 +21,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 -- 2.0.1