]> git.baikalelectronics.ru Git - uboot.git/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)
commit271cbab064abd062a60cdeec2222d0380713693b
tree26014778bc07babf88e1b7d98b7e4f026eb2ad7c
parent5be3fc4a0c615f4849fb706e228e73f6d3a26e27
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