From: Tom Rini Date: Sun, 28 Jan 2018 13:53:13 -0500 Subject: [U-Boot] [U-Boot, v2, 3/3] clk: clk_stm32f: Move SYSCFG clock setup into configure_clocks() In-Reply-To: <1516281005-32045-4-git-send-email-patrice.chotard@st.com> References: <1516281005-32045-4-git-send-email-patrice.chotard@st.com> Message-ID: <20180128185313.GI20149@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jan 18, 2018 at 02:10:05PM +0100, patrice.chotard at st.com wrote: > From: Patrice Chotard > > 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 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: