zephyr/soc/xtensa
Kumar Gala fb351a63e8 soc: xtensa: intel_adsp: ace: Rework setting soc_num_cpus
Move setting soc_num_cpus into its own SYS_INIT function such
that we can ensure it happens as one of the first things.  We
need soc_num_cpus set before soc_mp_init is called but also before
interrupt controller init functions might be called.

Also, by having it in its own function, it ensures that
soc_num_cpus gets set regardless of how CONFIG_MP_MAX_NUM_CPUS
is set.  Since if CONFIG_MP_MAX_NUM_CPUS=1, we do not call
soc_mp_init().

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2022-11-15 07:02:37 -05:00
..
esp32 soc/xtensa: Use standard __data_start/__data_end markers 2022-11-03 10:25:07 +01:00
esp32_net soc/xtensa: Use standard __data_start/__data_end markers 2022-11-03 10:25:07 +01:00
esp32s2 soc/xtensa: Use standard __data_start/__data_end markers 2022-11-03 10:25:07 +01:00
intel_adsp soc: xtensa: intel_adsp: ace: Rework setting soc_num_cpus 2022-11-15 07:02:37 -05:00
nxp_adsp soc/xtensa: Use standard __data_start/__data_end markers 2022-11-03 10:25:07 +01:00
sample_controller arch/xtensa: Enable code relocation 2022-11-03 10:25:07 +01:00
CMakeLists.txt