summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2020-03-30 16:38:22 +0200
committerChristian Mauderer <christian.mauderer@embedded-brains.de>2020-04-15 16:13:07 +0200
commit01219541289e8081054d4a57924ee169339f1eaf (patch)
tree98642528db4df219f5e3c29794c2a20730db8b32 /c/src/lib/libbsp
parentd007cc2ceef48ce47c157512370c1bf2c45596f3 (diff)
downloadrtems-01219541289e8081054d4a57924ee169339f1eaf.tar.bz2
bsp/imx: Add an extra ecspi clock.
Some imx chips or boards don't use the same frequency for ECSPI and IPG. Update #3869
Diffstat (limited to 'c/src/lib/libbsp')
-rw-r--r--c/src/lib/libbsp/arm/imx/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/imx/configure.ac b/c/src/lib/libbsp/arm/imx/configure.ac
index aa119b9236..fbb9d9278a 100644
--- a/c/src/lib/libbsp/arm/imx/configure.ac
+++ b/c/src/lib/libbsp/arm/imx/configure.ac
@@ -43,6 +43,9 @@ RTEMS_BSPOPTS_HELP([IMX_CCM_IPG_HZ],[IPG clock frequency in Hz])
RTEMS_BSPOPTS_SET([IMX_CCM_UART_HZ],[*],[24000000])
RTEMS_BSPOPTS_HELP([IMX_CCM_UART_HZ],[UART clock frequency in Hz])
+RTEMS_BSPOPTS_SET([IMX_CCM_ECSPI_HZ],[*],[67500000])
+RTEMS_BSPOPTS_HELP([IMX_CCM_ECSPI_HZ],[ECSPI clock frequency in Hz])
+
RTEMS_BSPOPTS_SET([IMX_CCM_AHB_HZ],[*],[135000000])
RTEMS_BSPOPTS_HELP([IMX_CCM_AHB_HZ],[AHB clock frequency in Hz])