diff options
author | Patrice Chotard <patrice.chotard@st.com> | 2018-02-07 10:44:46 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-03-13 21:45:37 -0400 |
commit | 61803a95a1e702275afe372422a97e94c655fd9d (patch) | |
tree | f0fe6c1487c8ec940593186873726e0727a40627 /include/stm32_rcc.h | |
parent | 5120a083e797aec3180fbda9ab845486da990909 (diff) | |
download | u-boot-61803a95a1e702275afe372422a97e94c655fd9d.tar.gz |
clk: clk_stm32f: Fix stm32_clk_get_rate() for timer
For timer clock, an additionnal prescaler is used which was
not taken into account previously.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'include/stm32_rcc.h')
-rw-r--r-- | include/stm32_rcc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/stm32_rcc.h b/include/stm32_rcc.h index 063177bc98..484bc305f9 100644 --- a/include/stm32_rcc.h +++ b/include/stm32_rcc.h @@ -45,6 +45,11 @@ enum soc_family { STM32F7, }; +enum apb { + APB1, + APB2, +}; + struct stm32_rcc_clk { char *drv_name; enum soc_family soc; |