]>
Commit | Line | Data |
---|---|---|
24e8bee5 AW |
1 | /* |
2 | * Copyright 2013 Freescale Semiconductor, Inc. | |
3 | * | |
1a459660 | 4 | * SPDX-License-Identifier: GPL-2.0+ |
24e8bee5 AW |
5 | */ |
6 | ||
7 | #ifndef __ASM_ARCH_CLOCK_H | |
8 | #define __ASM_ARCH_CLOCK_H | |
9 | ||
10 | #include <common.h> | |
11 | ||
12 | enum 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 | ||
21 | void enable_ocotp_clk(unsigned char enable); | |
22 | unsigned 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 */ |