]> git.sur5r.net Git - u-boot/commit
ARM: stm32: use clock setup function defined in clock.c
authorMichael Kurz <michi.kurz@gmail.com>
Sun, 22 Jan 2017 15:04:26 +0000 (16:04 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 28 Jan 2017 19:04:45 +0000 (14:04 -0500)
commit081de09d493e648f38b71180ca83fdf9f5c657e7
tree26014778bc07babf88e1b7d98b7e4f026eb2ad7c
parentdd3f0ebfb78f007c9fae38d9c20e58b9cbd6b3ce
ARM: stm32: use clock setup function defined in clock.c

Use the clock setup function defined in clock.c instead of setting the
clock bits directly in the drivers.
Remove register definitions of RCC in rcc.h as these are already
defined in the struct in stm32.h

Signed-off-by: Michael Kurz <michi.kurz@gmail.com>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
arch/arm/include/asm/arch-stm32f7/rcc.h
arch/arm/include/asm/arch-stm32f7/stm32_periph.h
arch/arm/mach-stm32/stm32f7/clock.c
arch/arm/mach-stm32/stm32f7/timer.c
board/st/stm32f746-disco/stm32f746-disco.c