set mac address from eeprom


I wanted to know if someone have an idea how to set the mac address of eth0 from an eeprom ? I know how to read eeprom from I2C, but how can i put this value at boot ?


Normally mac addresses are read from the Am335x eFUSES so you need to eventually modify the bootloader and/or Kernel to alternativelly read them from EEPROM.