Skip to content
Snippets Groups Projects
Commit 20fe38e7 authored by Patrice Chotard's avatar Patrice Chotard Committed by Tom Rini
Browse files

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: default avatarPatrice Chotard <patrice.chotard@st.com>
parent 68a69ed2
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment