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:
parent
134424da18
commit
57ca5c0401
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user