mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
5120a083e7
commit
61803a95a1
2 changed files with 105 additions and 18 deletions
|
@ -45,6 +45,11 @@ enum soc_family {
|
|||
STM32F7,
|
||||
};
|
||||
|
||||
enum apb {
|
||||
APB1,
|
||||
APB2,
|
||||
};
|
||||
|
||||
struct stm32_rcc_clk {
|
||||
char *drv_name;
|
||||
enum soc_family soc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue