summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-08-30 16:22:23 +0900
committerTom Rini <trini@konsulko.com>2016-09-07 08:48:54 -0400
commit1544698816a32284947322d0f0fe1478a9b65ad3 (patch)
tree603f550029a8674ff2b03b226edcc7979cdc44d4 /arch/arm
parent217f92bb79ea43df4d0fe47e31c28c01c721ad87 (diff)
downloadu-boot-imx-1544698816a32284947322d0f0fe1478a9b65ad3.zip
u-boot-imx-1544698816a32284947322d0f0fe1478a9b65ad3.tar.gz
u-boot-imx-1544698816a32284947322d0f0fe1478a9b65ad3.tar.bz2
ARM: armv7: move ARMV7_PSCI_NR_CPUS to Kconfig
Move this option to Kconfig and set its default value to 4; this increases the number of supported CPUs for some boards. It consumes 1KB memory per CPU for PSCI stack, but it should not be a big deal, given the amount of memory used for the modern OSes. Reviewed-by: Alexander Graf <agraf@suse.de> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/cpu/armv7/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/Kconfig b/arch/arm/cpu/armv7/Kconfig
index 4390f59..b9c4f4e 100644
--- a/arch/arm/cpu/armv7/Kconfig
+++ b/arch/arm/cpu/armv7/Kconfig
@@ -41,6 +41,15 @@ config ARMV7_PSCI
help
Say Y here to enable PSCI support.
+config ARMV7_PSCI_NR_CPUS
+ int "Maximum supported CPUs for PSCI"
+ depends on ARMV7_NONSEC
+ default 4
+ help
+ The maximum number of CPUs supported in the PSCI firmware.
+ It is no problem to set a larger value than the number of
+ CPUs in the actual hardware implementation.
+
config ARMV7_LPAE
bool "Use LPAE page table format" if EXPERT
depends on CPU_V7