diff options
| author | Patrice Chotard <[email protected]> | 2018-01-18 14:10:05 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2018-01-28 09:39:15 -0500 |
| commit | 20fe38e75abcf67488b88dd04d3febf13c9d0715 (patch) | |
| tree | 3464baa7bb585da850cb900b37bd23441bb605d1 /arch | |
| parent | 68a69ed2a41551063f012e1ef5f18f2eb4d07f34 (diff) | |
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 <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/include/asm/arch-stm32f7/stm32_periph.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-stm32f7/stm32_periph.h b/arch/arm/include/asm/arch-stm32f7/stm32_periph.h index 13f9c9be1cb..7b8f66a0346 100644 --- a/arch/arm/include/asm/arch-stm32f7/stm32_periph.h +++ b/arch/arm/include/asm/arch-stm32f7/stm32_periph.h @@ -21,7 +21,6 @@ enum periph_id { }; enum periph_clock { - SYSCFG_CLOCK_CFG, TIMER2_CLOCK_CFG, }; |
