Merge tag 'u-boot-imx-20200623' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
[oweals/u-boot.git] / board / dhelectronics / dh_imx6 / dh_imx6.c
index 8f50433f17cef120cac5ed0efcdbcea0cae0047b..9937d6b0106a438aa4565540edf948a372a86bf9 100644 (file)
@@ -142,8 +142,6 @@ int board_init(void)
        /* Enable eim_slow clocks */
        setbits_le32(&mxc_ccm->CCGR6, 0x1 << MXC_CCM_CCGR6_EMI_SLOW_OFFSET);
 
-       setup_dhcom_mac_from_fuse();
-
        setup_fec_clock();
 
        return 0;
@@ -189,6 +187,8 @@ int board_late_init(void)
        u32 hw_code;
        char buf[16];
 
+       setup_dhcom_mac_from_fuse();
+
        hw_code = board_get_hwcode();
 
        switch (get_cpu_type()) {