arch: cxd56xx: Disable SubCore to use DMA

Disable SubCore to use SPI transfer with DMA because it may be used
by MainCore.
This commit is contained in:
SPRESENSE 2023-01-24 12:33:56 +09:00 committed by Xiang Xiao
parent 134424da18
commit 57ca5c0401

View File

@ -731,7 +731,9 @@ void weak_function arm_dma_initialize(void)
for (i = 0; i < NCHANNELS; i++)
{
g_dmach[i].chan = i;
#ifndef CONFIG_CXD56_SUBCORE
up_enable_irq(irq_map[i]);
#endif
}
}