From a434cc80cb00e2f15a51205d6b813fc8c58803ac Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Tue, 24 Nov 2020 17:22:38 +0100 Subject: bsps/shared: Adapt fsl-edma driver for imxrt Note: The changes have been done with portability in mind. The driver should (in theory) be able to replace the original one in the MPC BSPs too. For full compatibility an adaption layer and especially a test would be necessary. Because both are missing, don't integrate it into the MPC BSP now. Update #4180 --- bsps/arm/imxrt/start/bspstart.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bsps/arm/imxrt') diff --git a/bsps/arm/imxrt/start/bspstart.c b/bsps/arm/imxrt/start/bspstart.c index 884f0aaf92..445af04563 100644 --- a/bsps/arm/imxrt/start/bspstart.c +++ b/bsps/arm/imxrt/start/bspstart.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include @@ -139,3 +140,5 @@ RTEMS_SYSINIT_ITEM(imxrt_lpi2c_init, RTEMS_SYSINIT_DEVICE_DRIVERS, RTEMS_SYSINIT_ORDER_MIDDLE); RTEMS_SYSINIT_ITEM(imxrt_ffec_init, RTEMS_SYSINIT_DEVICE_DRIVERS, RTEMS_SYSINIT_ORDER_MIDDLE); +RTEMS_SYSINIT_ITEM(fsl_edma_init, RTEMS_SYSINIT_DEVICE_DRIVERS, + RTEMS_SYSINIT_ORDER_FIRST); -- cgit v1.2.3