From: Marek Vasut Date: Fri, 17 Aug 2018 12:08:38 +0200 Subject: [U-Boot] [PATCH] arm: socfpga: stratix10: Enable EMAC to FPGA bridge based on handoff In-Reply-To: <1534494123-9257-1-git-send-email-ley.foon.tan@intel.com> References: <1534494123-9257-1-git-send-email-ley.foon.tan@intel.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08/17/2018 10:22 AM, Ley Foon Tan wrote: > Code checking and setting EMAC use fpga is in > populate_sysmgr_fpgaintf_module(). So, call to sysmgr_pinmux_init() > instead of populate_sysmgr_pinmux(). > In sysmgr_pinmux_init(), it will call to both populate_sysmgr_pinmux() > and populate_sysmgr_fpgaintf_module(). > > Signed-off-by: Ley Foon Tan > --- > arch/arm/mach-socfpga/spl_s10.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mach-socfpga/spl_s10.c b/arch/arm/mach-socfpga/spl_s10.c > index 69d6e91..cc5dc4f 100644 > --- a/arch/arm/mach-socfpga/spl_s10.c > +++ b/arch/arm/mach-socfpga/spl_s10.c > @@ -136,7 +136,7 @@ void board_init_f(ulong dummy) > socfpga_per_reset(SOCFPGA_RESET(OSC1TIMER0), 0); > timer_init(); > > - populate_sysmgr_pinmux(); > + sysmgr_pinmux_init(); > > /* configuring the HPS clocks */ > cm_basic_init(cm_default_cfg); > Applied, thanks. -- Best regards, Marek Vasut