Skip to content
Commit 32da4201 authored by Declan Snyder's avatar Declan Snyder Committed by David Leach
Browse files

drivers: dma_mcux_lpc: Change init level



Change init level of the mcux lpc dma driver to be
PRE_KERNEL_1 because some other hardware drivers
used on the same platforms as the lpc dma will be
dependent on the LPC DMA and are also initialized
in PRE_KERNEL_1, such as the Flexcomm UART driver
when using UART_ASYNC_API.

Therefore, remove k_malloc from init function and
make those variables statically defined instead of
heap allocated.

Signed-off-by: default avatarDeclan Snyder <declan.snyder@nxp.com>
parent d8ca4e9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment