[U-Boot] [U-Boot, v2, 3/3] clk: clk_stm32f: Move SYSCFG clock setup into configure_clocks()

Tom Rini trini at konsulko.com
Sun Jan 28 18:53:13 UTC 2018


On Thu, Jan 18, 2018 at 02:10:05PM +0100, patrice.chotard at st.com wrote:

> From: Patrice Chotard <patrice.chotard at st.com>
> 
> 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 at st.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180128/e6e87195/attachment.sig>


More information about the U-Boot mailing list