blob: 9b2e2b06dd8c26284e3d0bee30c24186be0c7ac4 [file] [log] [blame]
Alison Wang035260a2013-05-27 22:55:42 +00001/*
2 * Copyright 2013 Freescale Semiconductor, Inc.
3 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Alison Wang035260a2013-05-27 22:55:42 +00005 */
6
7#ifndef __ASM_ARCH_CLOCK_H
8#define __ASM_ARCH_CLOCK_H
9
10#include <common.h>
11
12enum mxc_clock {
13 MXC_ARM_CLK = 0,
14 MXC_BUS_CLK,
15 MXC_IPG_CLK,
16 MXC_UART_CLK,
17 MXC_ESDHC_CLK,
18 MXC_FEC_CLK,
19};
20
21void enable_ocotp_clk(unsigned char enable);
22unsigned int mxc_get_clock(enum mxc_clock clk);
23
24#define imx_get_fecclk() mxc_get_clock(MXC_FEC_CLK)
25
26#endif /* __ASM_ARCH_CLOCK_H */