diff options
author | Michael Kurz <michi.kurz@gmail.com> | 2017-01-22 16:04:26 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-01-28 14:04:45 -0500 |
commit | 081de09d493e648f38b71180ca83fdf9f5c657e7 (patch) | |
tree | 26014778bc07babf88e1b7d98b7e4f026eb2ad7c /arch/arm/include/asm/arch-stm32f7/stm32_periph.h | |
parent | dd3f0ebfb78f007c9fae38d9c20e58b9cbd6b3ce (diff) | |
download | u-boot-imx-081de09d493e648f38b71180ca83fdf9f5c657e7.zip u-boot-imx-081de09d493e648f38b71180ca83fdf9f5c657e7.tar.gz u-boot-imx-081de09d493e648f38b71180ca83fdf9f5c657e7.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/include/asm/arch-stm32f7/stm32_periph.h')
-rw-r--r-- | arch/arm/include/asm/arch-stm32f7/stm32_periph.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-stm32f7/stm32_periph.h b/arch/arm/include/asm/arch-stm32f7/stm32_periph.h index 38adc4e..9b315a8 100644 --- a/arch/arm/include/asm/arch-stm32f7/stm32_periph.h +++ b/arch/arm/include/asm/arch-stm32f7/stm32_periph.h @@ -33,6 +33,9 @@ enum periph_clock { GPIO_I_CLOCK_CFG, GPIO_J_CLOCK_CFG, GPIO_K_CLOCK_CFG, + SYSCFG_CLOCK_CFG, + TIMER2_CLOCK_CFG, + FMC_CLOCK_CFG, }; #endif /* __ASM_ARM_ARCH_PERIPH_H */ |