Add sys_eeprom feature to read MAC addresses and other variables
For machines that doesn't have sys_eeprom initialized, this can be done
in u-boot by -
sys_eeprom set 0x24 00:11:22:44:11:44
sys_eeprom set 0x2a 0x10
sys_eeprom write
The first command will set the base MAC, the second will define a range
of 16 MAC addresses (LX2 COM can actually go up to 17 MACs).
The third command will save the TLV data. After that reset is required
for the MAC addresses to get effective
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
Showing
Please register or sign in to comment