From 61803a95a1e702275afe372422a97e94c655fd9d Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Wed, 7 Feb 2018 10:44:46 +0100 Subject: 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 --- include/stm32_rcc.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/stm32_rcc.h b/include/stm32_rcc.h index 063177bc987..484bc305f9c 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; -- cgit v1.3.1