Re: [U-Boot] [PATCH] ARM: stm32f7: fix prescaler calculation of timer

2017-10-03 Thread Vikas MANOCHA
> -Original Message- > From: Bo Shen [mailto:voice.s...@gmail.com] > Sent: Monday, October 02, 2017 10:48 PM > To: albert.u.b...@aribaud.net; Vikas MANOCHA > Cc: u-boot@lists.denx.de; Bo Shen > Subject: [PATCH] ARM: stm32f7: fix prescaler

[U-Boot] [PATCH] ARM: stm32f7: fix prescaler calculation of timer

2017-10-02 Thread Bo Shen
As the timer 2 is on APB1 bus, the maximum of clock frequency of APB1 timer clock is half of SYSCLK. Then to calculate the timer prescaler for timer 2 which need to be divided by 2. Signed-off-by: Bo Shen --- arch/arm/mach-stm32/stm32f7/timer.c | 2 +- 1 file changed, 1