mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 17:28:15 +00:00
9f3183d2d6
There are two LS series processors are built on ARMv8 Layersacpe architecture currently, LS2085A and LS1043A. They are based on ARMv8 core although use different chassis, so create fsl-layerscape to refactor the common code for the LS series processors which also paves the way for adding LS1043A platform. Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com> Signed-off-by: Hou Zhiqiang <B48286@freescale.com> Signed-off-by: Gong Qianyu <Qianyu.Gong@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
24 lines
417 B
C
24 lines
417 B
C
/*
|
|
* Copyright 2015 Freescale Semiconductor, Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_FSL_LAYERSCAPE_CLOCK_H_
|
|
#define __ASM_ARCH_FSL_LAYERSCAPE_CLOCK_H_
|
|
|
|
#include <common.h>
|
|
|
|
enum mxc_clock {
|
|
MXC_ARM_CLK = 0,
|
|
MXC_BUS_CLK,
|
|
MXC_UART_CLK,
|
|
MXC_ESDHC_CLK,
|
|
MXC_I2C_CLK,
|
|
MXC_DSPI_CLK,
|
|
};
|
|
|
|
unsigned int mxc_get_clock(enum mxc_clock clk);
|
|
|
|
#endif /* __ASM_ARCH_FSL_LAYERSCAPE_CLOCK_H_ */
|