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

5
Last change on this file since 9964895 was 9964895, checked in by Sebastian Huber <sebastian.huber@…>, on 04/20/18 at 08:35:35

bsps: Move startup files to bsps

Adjust build support files to new directory layout.

This patch is a part of the BSP source reorganization.

Update #3285.

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