arm: cxd56xx: Fix nvic settings for SMP

Summary:
- I noticed that ostest sometimes stops with DEBUGASSERT
- Finally I found a bug that cpu1 can not disable interrupt
- This commit initializes nvic to fix this bug

Impact:
- Only affects cxd56 in SMP mode

Testing:
- spresense:smp and spresense:wifi_smp with DEBUG_ASSERTIONS=y

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2020-09-09 11:59:25 +09:00 committed by Alin Jerpelea
parent 835d394856
commit ce93fe76e5

View File

@ -114,6 +114,10 @@ static void appdsp_boot(void)
cpu = up_cpu_index();
DPRINTF("cpu = %d\n", cpu);
/* Setup NVIC */
up_irqinitialize();
/* Setup FPU */
fpuconfig();