Skip to content
Commit a230fafd authored by Andy Ross's avatar Andy Ross Committed by Anas Nashif
Browse files

arch/xtensa: soc/intel_adsp: Rework MP code entry



Instead of passing the crt1 _start function as the entry code for
auxiliary CPUs, use a tiny assembly stub instead which can avoid the
runtime testing needed to skip the work in _start.  All the crt1 code
was doing was clearing BSS (which must not happen on a second CPU) and
setting the stack pointer (which is wrong on the second CPU).

This allows us to clean out the SMP code in crt1.

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent d60c8496
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment