Skip to content

Commit

Permalink
zephyr: lib: dma: adapt imx93 Kconfig name to HWMv2 name
Browse files Browse the repository at this point in the history
With the switch to HWMv2, `CONFIG_SOC_SERIES_MIMX9_A55`
has been renamed to `CONFIG_SOC_MIMX9352_A55` so make sure
we also use the correct name when fetching the driver structure
associated with 93's DMACs.

Signed-off-by: Laurentiu Mihalcea <[email protected]>
  • Loading branch information
LaurentiuM1234 authored and kv2019i committed Mar 13, 2024
1 parent 9ffff14 commit 3926292
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zephyr/lib/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ SHARED_DATA struct dma dma[] = {
.z_dev = DEVICE_DT_GET(DT_NODELABEL(hda_link_out)),
},
#endif
#ifdef CONFIG_SOC_SERIES_MIMX9_A55
#ifdef CONFIG_SOC_MIMX9352_A55
{
.plat_data = {
.dir = DMA_DIR_MEM_TO_DEV | DMA_DIR_DEV_TO_MEM,
Expand All @@ -129,7 +129,7 @@ SHARED_DATA struct dma dma[] = {
},
.z_dev = DEVICE_DT_GET(DT_NODELABEL(host_dma)),
},
#endif /* CONFIG_SOC_SERIES_MIMX9_A55 */
#endif /* CONFIG_SOC_MIMX9352_A55 */
};

const struct dma_info lib_dma = {
Expand Down

0 comments on commit 3926292

Please sign in to comment.