bsp: nxp/mcx/mcxn: SPI: Use updated DMA mux enum.

Signed-off-by: Yilin Sun <imi415@imi.moe>
This commit is contained in:
Yilin Sun 2024-08-19 11:40:25 +08:00 committed by Rbb666
parent c451dce820
commit a5780a341c
1 changed files with 8 additions and 8 deletions

View File

@ -62,8 +62,8 @@ static struct lpc_spi lpc_obj[] =
.clock_attach_id = kFRO_HF_DIV_to_FLEXCOMM1,
.clock_div_name = kCLOCK_DivFlexcom1Clk,
.clock_name = kCLOCK_FroHf,
.tx_dma_request = kDmaRequestMuxLpFlexcomm1Tx,
.rx_dma_request = kDmaRequestMuxLpFlexcomm1Rx,
.tx_dma_request = kDma0RequestMuxLpFlexcomm1Tx,
.rx_dma_request = kDma0RequestMuxLpFlexcomm1Rx,
.DMAx = DMA0,
.tx_dma_chl = 0,
.rx_dma_chl = 1,
@ -76,8 +76,8 @@ static struct lpc_spi lpc_obj[] =
.clock_attach_id = kFRO_HF_DIV_to_FLEXCOMM3,
.clock_div_name = kCLOCK_DivFlexcom3Clk,
.clock_name = kCLOCK_FroHf,
.tx_dma_request = kDmaRequestMuxLpFlexcomm3Tx,
.rx_dma_request = kDmaRequestMuxLpFlexcomm3Rx,
.tx_dma_request = kDma0RequestMuxLpFlexcomm3Tx,
.rx_dma_request = kDma0RequestMuxLpFlexcomm3Rx,
.DMAx = DMA0,
.tx_dma_chl = 2,
.rx_dma_chl = 3,
@ -90,8 +90,8 @@ static struct lpc_spi lpc_obj[] =
.clock_attach_id = kFRO_HF_DIV_to_FLEXCOMM6,
.clock_div_name = kCLOCK_DivFlexcom6Clk,
.clock_name = kCLOCK_FroHf,
.tx_dma_request = kDmaRequestMuxLpFlexcomm6Tx,
.rx_dma_request = kDmaRequestMuxLpFlexcomm6Rx,
.tx_dma_request = kDma0RequestMuxLpFlexcomm6Tx,
.rx_dma_request = kDma0RequestMuxLpFlexcomm6Rx,
.DMAx = DMA0,
.tx_dma_chl = 4,
.rx_dma_chl = 5,
@ -104,8 +104,8 @@ static struct lpc_spi lpc_obj[] =
.clock_attach_id = kFRO_HF_DIV_to_FLEXCOMM7,
.clock_div_name = kCLOCK_DivFlexcom7Clk,
.clock_name = kCLOCK_FroHf,
.tx_dma_request = kDmaRequestMuxLpFlexcomm7Tx,
.rx_dma_request = kDmaRequestMuxLpFlexcomm7Rx,
.tx_dma_request = kDma0RequestMuxLpFlexcomm7Tx,
.rx_dma_request = kDma0RequestMuxLpFlexcomm7Rx,
.DMAx = DMA0,
.tx_dma_chl = 2,
.rx_dma_chl = 3,