commit | 32c492cc0ce766f0bd705c57bae88ad72b2fe27a | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Tue Jan 11 13:47:13 2022 -0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Jan 11 19:57:01 2022 -0500 |
tree | 57e9d43f3ad8d405bcf916bcc7bc1cd2a9229b04 | |
parent | 7b940cabe5394b4419b3701f49f0aca2f6373797 [diff] |
soc: xtensa/intel_adsp: don't call soc_mp_init if MP_NUM_CPUS==1 There is no need to call soc_mp_init() if CONFIG_MP_NUM_CPUS indicates only 1 CPU is being used. This also fixes an undefined reference to soc_mp_init() since mp_cavs.c is not compiled unless the build is targeting more than 1 CPU. Signed-off-by: Daniel Leung <daniel.leung@intel.com>