]> git.dujemihanovic.xyz Git - u-boot.git/commit
mach-stm32: stmf32f4: timer: remove clock_get() call
authorPatrice Chotard <patrice.chotard@st.com>
Tue, 12 Dec 2017 08:49:38 +0000 (09:49 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 10 Jan 2018 13:05:46 +0000 (08:05 -0500)
commitdcb11959d85596982c935040b8b6d237f31e7e4d
treeb954ed68132d9224b9d8b47b8635edc069b5d353
parent2d18d72858adf7171bbae32c2efb0653507435e2
mach-stm32: stmf32f4: timer: remove clock_get() call

In order to use common clock driver between STM32F4 and
STM32F7, remove clock_get() call
As APB_PSC is always set to 2, only case when
clock_get(CLOCK_AHB) != clock_get(CLOCK_APB1) is kept

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/mach-stm32/stm32f4/timer.c