diff options
| author | Yilin Sun <[email protected]> | 2024-08-19 11:40:25 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2024-08-19 16:04:28 +0800 |
| commit | a5780a341cb54539600452d520632227b2a2f164 (patch) | |
| tree | 7c48b7ae85abe4a09dbb3522dd90c7d754804f40 | |
| parent | c451dce8203fb2616d6ec4634db1f4a7b766680c (diff) | |
bsp: nxp/mcx/mcxn: SPI: Use updated DMA mux enum.
Signed-off-by: Yilin Sun <[email protected]>
| -rw-r--r-- | bsp/nxp/mcx/mcxn/Libraries/drivers/drv_spi.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bsp/nxp/mcx/mcxn/Libraries/drivers/drv_spi.c b/bsp/nxp/mcx/mcxn/Libraries/drivers/drv_spi.c index 9591e9cc7b..d5a58208f1 100644 --- a/bsp/nxp/mcx/mcxn/Libraries/drivers/drv_spi.c +++ b/bsp/nxp/mcx/mcxn/Libraries/drivers/drv_spi.c @@ -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, |
