diff options
author | Christian Mauderer <christian.mauderer@embedded-brains.de> | 2021-05-12 11:34:52 +0200 |
---|---|---|
committer | Christian Mauderer <christian.mauderer@embedded-brains.de> | 2021-05-17 09:06:41 +0200 |
commit | 15e26f4d7f808368362fbe82888fe66485d082dd (patch) | |
tree | bd9882b4af58e547cff6a53dc733faa49c9bed7b | |
parent | bsps/imxrt: Fix OCRAM, ITCM and DTCM sizes (diff) | |
download | rtems-15e26f4d7f808368362fbe82888fe66485d082dd.tar.bz2 |
bsps/imxrt: Enable DMA clock
The EDMA is intialized so make sure the the clock is initialized too.
Update #4180
-rw-r--r-- | bsps/arm/imxrt/start/bspstarthooks.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bsps/arm/imxrt/start/bspstarthooks.c b/bsps/arm/imxrt/start/bspstarthooks.c index 2b6b59f66b..b8149691e7 100644 --- a/bsps/arm/imxrt/start/bspstarthooks.c +++ b/bsps/arm/imxrt/start/bspstarthooks.c @@ -48,4 +48,7 @@ BSP_START_TEXT_SECTION void bsp_start_hook_1(void) /* Reduce frequency for I2C */ CLOCK_SetDiv(kCLOCK_Lpi2cDiv, 5); + + /* Enable EDMA clock. We initialize the EDMA so we need the clock. */ + CLOCK_EnableClock(kCLOCK_Dma); } |