soc: Add ability for SOC to specify runtime CPU detection
Add Kconfig SOC_HAS_RUNTIME_NUM_CPUS symbol that an SoC can set to specify that it supports determining the number of CPUs at runtime. On xtensa add support for SOC_HAS_RUNTIME_NUM_CPUS and expose soc_num_cpus that the SoC code should set early in boot as the means to expose the number of cpus. Signed-off-by: Kumar Gala <kumar.gala@intel.com>
This commit is contained in:
parent
29047f11ed
commit
6bdd91e9b1
2 changed files with 14 additions and 0 deletions
|
@ -53,3 +53,9 @@ config SOC_HAS_TIMING_FUNCTIONS
|
|||
help
|
||||
Should be selected if SoC provides custom method for retrieving
|
||||
timestamps and cycle count.
|
||||
|
||||
config SOC_HAS_RUNTIME_NUM_CPUS
|
||||
bool
|
||||
help
|
||||
Should be selected if SoC handles determining the number of CPUs
|
||||
at runtime.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue