[PATCH rtems v2 06/12] bsps/shared: Fix header for fsl-edma

Christian Mauderer christian.mauderer at embedded-brains.de
Tue May 9 12:10:53 UTC 2023


If a different chip variant is used in the i.mxrt BSP, a different
header would have to be included. Make sure that the fsl-edma driver
uses a header that doesn't have to be adapted.
---
 bsps/shared/dev/dma/fsl-edma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/shared/dev/dma/fsl-edma.c b/bsps/shared/dev/dma/fsl-edma.c
index b3e1bb2fc5..3cb91c14e6 100644
--- a/bsps/shared/dev/dma/fsl-edma.c
+++ b/bsps/shared/dev/dma/fsl-edma.c
@@ -40,7 +40,7 @@
 #include <bsp/fatal.h>
 #include <bsp/irq.h>
 #ifdef LIBBSP_ARM_IMXRT_BSP_H
-#include <MIMXRT1052.h>
+#include <fsl_device_registers.h>
 #endif
 
 #define EDMA_CHANNELS_PER_GROUP 32U
-- 
2.35.3



More information about the devel mailing list