aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2018-01-18 14:10:05 +0100
committerTom Rini <trini@konsulko.com>2018-01-28 09:39:15 -0500
commit20fe38e75abcf67488b88dd04d3febf13c9d0715 (patch)
tree3464baa7bb585da850cb900b37bd23441bb605d1 /arch
parent68a69ed2a41551063f012e1ef5f18f2eb4d07f34 (diff)
downloadu-boot-20fe38e75abcf67488b88dd04d3febf13c9d0715.zip
u-boot-20fe38e75abcf67488b88dd04d3febf13c9d0715.tar.gz
u-boot-20fe38e75abcf67488b88dd04d3febf13c9d0715.tar.bz2
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-stm32f7/stm32_periph.h1
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 13f9c9b..7b8f66a 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,
};