source: rtems/bsps/arm/imx/start/ccm.c @ ba619b7f

Last change on this file since ba619b7f was ba619b7f, checked in by Joel Sherrill <joel@…>, on 03/01/22 at 21:38:20

bsps/arm/: Scripted embedded brains header file clean up

Updates #4625.

  • Property mode set to 100644
File size: 627 bytes
Line 
1/*
2 * Copyright (c) 2017 embedded brains GmbH.  All rights reserved.
3 *
4 * The license and distribution terms for this file may be
5 * found in the file LICENSE in this distribution or at
6 * http://www.rtems.org/license/LICENSE.
7 */
8
9#include <stdint.h>
10#include <bspopts.h>
11
12#include <arm/freescale/imx/imx_ccmvar.h>
13
14uint32_t imx_ccm_ipg_hz(void)
15{
16  return IMX_CCM_IPG_HZ;
17}
18
19uint32_t imx_ccm_uart_hz(void)
20{
21  return IMX_CCM_UART_HZ;
22}
23
24uint32_t imx_ccm_ecspi_hz(void)
25{
26  return IMX_CCM_ECSPI_HZ;
27}
28
29uint32_t imx_ccm_ahb_hz(void)
30{
31  return IMX_CCM_AHB_HZ;
32}
33
34uint32_t imx_ccm_sdhci_hz(void)
35{
36  return IMX_CCM_SDHCI_HZ;
37}
Note: See TracBrowser for help on using the repository browser.