1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* 3 * Copyright 2014 Freescale Semiconductor, Inc. 4 * 5 */ 6 7 #ifndef __ASM_ARCH_LS102XA_CLOCK_H_ 8 #define __ASM_ARCH_LS102XA_CLOCK_H_ 9 10 #include <common.h> 11 12 enum mxc_clock { 13 MXC_ARM_CLK = 0, 14 MXC_UART_CLK, 15 MXC_ESDHC_CLK, 16 MXC_I2C_CLK, 17 MXC_DSPI_CLK, 18 }; 19 20 unsigned int mxc_get_clock(enum mxc_clock clk); 21 ulong get_ddr_freq(ulong); 22 uint get_svr(void); 23 24 #endif /* __ASM_ARCH_LS102XA_CLOCK_H_ */ 25