From 3926292e0015944a3ed0481b7847f1a2a04d35b4 Mon Sep 17 00:00:00 2001 From: Laurentiu Mihalcea Date: Mon, 11 Mar 2024 14:44:23 +0200 Subject: [PATCH] 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 --- zephyr/lib/dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zephyr/lib/dma.c b/zephyr/lib/dma.c index ec2ac28a2..b4ae8c7f7 100644 --- a/zephyr/lib/dma.c +++ b/zephyr/lib/dma.c @@ -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 = {