]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/compulab/cm_t35/cm_t35.c
compulab: eeprom: allow reading mac address from multiple eeproms
[karo-tx-uboot.git] / board / compulab / cm_t35 / cm_t35.c
index 43463d5b4701cf0220049e3f82e34f47d40e608e..9a3b2ee72fed905b567d46928bdf6fbda1af8b7f 100644 (file)
@@ -429,7 +429,7 @@ static int handle_mac_address(void)
        if (rc)
                return 0;
 
-       rc = cl_eeprom_read_mac_addr(enetaddr);
+       rc = cl_eeprom_read_mac_addr(enetaddr, CONFIG_SYS_I2C_EEPROM_BUS);
        if (rc)
                return rc;