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:
parent
835d394856
commit
ce93fe76e5
@ -114,6 +114,10 @@ static void appdsp_boot(void)
|
|||||||
cpu = up_cpu_index();
|
cpu = up_cpu_index();
|
||||||
DPRINTF("cpu = %d\n", cpu);
|
DPRINTF("cpu = %d\n", cpu);
|
||||||
|
|
||||||
|
/* Setup NVIC */
|
||||||
|
|
||||||
|
up_irqinitialize();
|
||||||
|
|
||||||
/* Setup FPU */
|
/* Setup FPU */
|
||||||
|
|
||||||
fpuconfig();
|
fpuconfig();
|
||||||
|
Loading…
Reference in New Issue
Block a user