zephyr: lib: dma: adapt imx93 Kconfig name to HWMv2 name

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 <laurentiu.mihalcea@nxp.com>
This commit is contained in:
Laurentiu Mihalcea 2024-03-11 14:44:23 +02:00 committed by Kai Vehmanen
parent 9ffff145fe
commit 3926292e00
1 changed files with 2 additions and 2 deletions

View File

@ -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,
@ -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 = {