summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/clkctrl-imx233.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-10-12 23:40:07 +0200
committerSolomon Peachy <pizza@shaftnet.org>2024-10-27 10:46:28 -0400
commit9bd13865b70b37844dec846d08cdb2540b49de55 (patch)
treeabfc93eceb981bef0d9979862852bc0b8ea1177c /firmware/target/arm/imx233/clkctrl-imx233.h
parent655d201cf31a852000b63887f291426b7f8c397b (diff)
downloadrockbox-9bd13865b70b37844dec846d08cdb2540b49de55.tar.gz
rockbox-9bd13865b70b37844dec846d08cdb2540b49de55.zip
imx233: make clkctrl code aware of hbus fractional divider
This is just to display the frequency correctly in the debug menu and prepare for future use of said divider Change-Id: Ib4c80ec71b3300bdf17edf6cc590229f7640d0f5
Diffstat (limited to 'firmware/target/arm/imx233/clkctrl-imx233.h')
-rw-r--r--firmware/target/arm/imx233/clkctrl-imx233.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/clkctrl-imx233.h b/firmware/target/arm/imx233/clkctrl-imx233.h
index f12d181c50..d150912cfe 100644
--- a/firmware/target/arm/imx233/clkctrl-imx233.h
+++ b/firmware/target/arm/imx233/clkctrl-imx233.h
@@ -68,7 +68,7 @@ int imx233_clkctrl_get_div(enum imx233_clock_t clk);
68#if IMX233_SUBTARGET >= 3700 68#if IMX233_SUBTARGET >= 3700
69/* call with fracdiv=0 to disable it */ 69/* call with fracdiv=0 to disable it */
70void imx233_clkctrl_set_frac_div(enum imx233_clock_t clk, int fracdiv); 70void imx233_clkctrl_set_frac_div(enum imx233_clock_t clk, int fracdiv);
71/* 0 means fractional dividor disable */ 71/* 0 means fractional dividor disabled */
72int imx233_clkctrl_get_frac_div(enum imx233_clock_t clk); 72int imx233_clkctrl_get_frac_div(enum imx233_clock_t clk);
73void imx233_clkctrl_set_bypass(enum imx233_clock_t clk, bool bypass); 73void imx233_clkctrl_set_bypass(enum imx233_clock_t clk, bool bypass);
74bool imx233_clkctrl_get_bypass(enum imx233_clock_t clk); 74bool imx233_clkctrl_get_bypass(enum imx233_clock_t clk);