summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorBenoît Thébaudeau <benoit@wsystem.com>2017-05-03 09:59:05 (GMT)
committerStefano Babic <sbabic@denx.de>2017-05-31 08:14:30 (GMT)
commit3e3aab3379d99f4c955ecca4992ad33ae70e71e4 (patch)
tree4b491f68b06de4be844d56c859aec2ab27f78b98 /arch/arm/include
parentf7c13e6a791b997e5b73f073db5f81864b882b61 (diff)
downloadu-boot-fsl-qoriq-3e3aab3379d99f4c955ecca4992ad33ae70e71e4.tar.xz
mx25: Add function to set PER clocks
Introduce the imx_set_perclk() function to make it possible to set the PER clocks. Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-mx25/clock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx25/clock.h b/arch/arm/include/asm/arch-mx25/clock.h
index 9fdaa9d..7753caf 100644
--- a/arch/arm/include/asm/arch-mx25/clock.h
+++ b/arch/arm/include/asm/arch-mx25/clock.h
@@ -51,6 +51,7 @@ enum mxc_clock {
MXC_CLK_NUM
};
+int imx_set_perclk(enum mxc_clock clk, bool from_upll, unsigned int freq);
unsigned int mxc_get_clock(enum mxc_clock clk);
#define imx_get_uartclk() mxc_get_clock(MXC_UART_CLK)