-
- Downloads
clk: clk_stm32f: Move SYSCFG clock setup into configure_clocks()
Move SYSCFG clock setup into configure_clocks() instead of calling
clock_setup() from board file.
As this clock is only needed in case of ethernet enabled and as
both stm32f4 and stm32f7 are using the Designware ethernet IP,
we use CONFIG_ETH_DESIGNWARE to only enable this clock if needed.
Move the RMII setup from board_early_init_f() to board_init()
to insure that RMII bit is set only when clock driver is initialized.
Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
Showing
- arch/arm/include/asm/arch-stm32f7/stm32_periph.h 0 additions, 1 deletionarch/arm/include/asm/arch-stm32f7/stm32_periph.h
- board/st/stm32f746-disco/stm32f746-disco.c 6 additions, 13 deletionsboard/st/stm32f746-disco/stm32f746-disco.c
- drivers/clk/clk_stm32f.c 6 additions, 6 deletionsdrivers/clk/clk_stm32f.c
Loading
Please register or sign in to comment