summaryrefslogtreecommitdiffstats
path: root/include/configs/sun7i.h
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2014-07-18 21:06:39 +0100
committerHans de Goede <hdegoede@redhat.com>2014-07-31 15:37:24 +0200
commitcb4ccf2f21468aabd877495cff22c2117c98f8c6 (patch)
tree69d915291abbdc3da31f4870b17374cd296adedf /include/configs/sun7i.h
parentd5db7024aafc5ea603f3a34f83bb29a1eaa3cbe7 (diff)
downloadtalos-obmc-uboot-cb4ccf2f21468aabd877495cff22c2117c98f8c6.tar.gz
talos-obmc-uboot-cb4ccf2f21468aabd877495cff22c2117c98f8c6.zip
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 <marc.zyngier@arm.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include/configs/sun7i.h')
-rw-r--r--include/configs/sun7i.h1
1 files changed, 1 insertions, 0 deletions
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
OpenPOWER on IntegriCloud