]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: PSCI: Add missing CONFIG_ARMV7_PSCI_NR_CPUS for PSCI enabled platforms
authorChen-Yu Tsai <wens@csie.org>
Tue, 5 Jul 2016 13:45:05 +0000 (21:45 +0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 15 Jul 2016 13:54:57 +0000 (15:54 +0200)
The original PSCI implementation assumed CONFIG_ARMV7_PSCI_NR_CPUS=4.
Add this to platforms that have not defined it, using CONFIG_MAX_CPUS if
it is defined, or the actual number of cores for the given platform.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
include/configs/jetson-tk1.h
include/configs/ls1021aqds.h
include/configs/ls1021atwr.h

index 953c0880501d8bc21e5ce5a195529b9f5bbb1bf5..2b172a50730a49f1a330dd67eaa4c5cd4862ab42 100644 (file)
@@ -61,6 +61,7 @@
 #include "tegra-common-post.h"
 
 #define CONFIG_ARMV7_PSCI                      1
+#define CONFIG_ARMV7_PSCI_NR_CPUS              4
 /* Reserve top 1M for secure RAM */
 #define CONFIG_ARMV7_SECURE_BASE               0xfff00000
 #define CONFIG_ARMV7_SECURE_RESERVE_SIZE       0x00100000
index db684d25582cc9790c6ae2fabb6ed3bbddd2fee9..eb444ebd59e21b0807b14388fb34bc09fc8b1a3f 100644 (file)
@@ -10,6 +10,7 @@
 #define CONFIG_LS102XA
 
 #define CONFIG_ARMV7_PSCI
+#define CONFIG_ARMV7_PSCI_NR_CPUS      CONFIG_MAX_CPUS
 
 #define CONFIG_SYS_FSL_CLK
 
index 0fb28eff557434265edcaa1f756a60cb7998713a..616aebb4e91400c57eea52808285e2641d8c6abf 100644 (file)
@@ -10,6 +10,7 @@
 #define CONFIG_LS102XA
 
 #define CONFIG_ARMV7_PSCI
+#define CONFIG_ARMV7_PSCI_NR_CPUS      CONFIG_MAX_CPUS
 
 #define CONFIG_SYS_FSL_CLK