]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: socfpga: stratix10: Enable EMAC to FPGA bridge based on handoff
authorLey Foon Tan <ley.foon.tan@intel.com>
Fri, 17 Aug 2018 08:22:02 +0000 (16:22 +0800)
committerMarek Vasut <marex@denx.de>
Fri, 24 Aug 2018 10:05:20 +0000 (12:05 +0200)
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 <ley.foon.tan@intel.com>
arch/arm/mach-socfpga/spl_s10.c

index 69d6e919aa078760b540c8bf7151f94c2982eafb..cc5dc4f3d74b9184bfe13a80193c9d25ea013dd2 100644 (file)
@@ -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);