intel: adsp: cavs: fix NO_OPTIMIZATION boot failure
Fixes boot failure on CAVS platforms with CONFIG_NO_OPTIMIZATIONS=y by moving z_soc_mp_asm_entry into .text linker section to ensure it is copied to SRAM. Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
This commit is contained in:
parent
56e1c5061d
commit
938b9533c7
|
@ -63,7 +63,8 @@ bool soc_cpus_active[CONFIG_MP_MAX_NUM_CPUS];
|
|||
* Note that alignment is absolutely required: the IDC protocol passes
|
||||
* only the upper 30 bits of the address to the second CPU.
|
||||
*/
|
||||
__asm__(".align 4 \n\t"
|
||||
__asm__(".section .text.z_soc_mp_asm_entry, \"x\" \n\t"
|
||||
".align 4 \n\t"
|
||||
".global z_soc_mp_asm_entry \n\t"
|
||||
"z_soc_mp_asm_entry: \n\t"
|
||||
" movi a0, 0x4002f \n\t" /* WOE | UM | INTLEVEL(max) */
|
||||
|
|
Loading…
Reference in New Issue