aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv8/Kconfig
diff options
context:
space:
mode:
authormacro.wave.z@gmail.com <macro.wave.z@gmail.com>2016-12-08 11:58:24 +0800
committerYork Sun <york.sun@nxp.com>2016-12-15 11:57:44 -0800
commit14bf25d50d934e95ffd7fc1276f9ab1e6c67bfbb (patch)
tree7c92a590ce69840e831fe889ddfe37158206289a /arch/arm/cpu/armv8/Kconfig
parent5cc8d6682f6bb2934f5303786af6c57e68613a79 (diff)
downloadu-boot-14bf25d50d934e95ffd7fc1276f9ab1e6c67bfbb.zip
u-boot-14bf25d50d934e95ffd7fc1276f9ab1e6c67bfbb.tar.gz
u-boot-14bf25d50d934e95ffd7fc1276f9ab1e6c67bfbb.tar.bz2
ARMv8: Add basic PSCI framework
This patch introduces a generic ARMv8 PSCI framework, with all functions returning a dummy ARM_PSCI_RET_NI (Not Implemented), then it is up to each platform to implement their own functions based on this framework. Signed-off-by: Hongbo Zhang <hongbo.zhang@nxp.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm/cpu/armv8/Kconfig')
-rw-r--r--arch/arm/cpu/armv8/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv8/Kconfig b/arch/arm/cpu/armv8/Kconfig
index edae43d..22dce88 100644
--- a/arch/arm/cpu/armv8/Kconfig
+++ b/arch/arm/cpu/armv8/Kconfig
@@ -58,6 +58,16 @@ config ARMV8_PSCI_NR_CPUS
It is no problem to set a larger value than the number of CPUs in
the actual hardware implementation.
+config ARMV8_PSCI_CPUS_PER_CLUSTER
+ int "Number of CPUs per cluster"
+ depends on ARMV8_PSCI
+ default 0
+ help
+ The number of CPUs per cluster, suppose each cluster has same number
+ of CPU cores, platforms with asymmetric clusters don't apply here.
+ A value 0 or no definition of it works for single cluster system.
+ System with multi-cluster should difine their own exact value.
+
if SYS_HAS_ARMV8_SECURE_BASE
config ARMV8_SECURE_BASE