u-boot/board/xilinx/common
Ashok Reddy Soma 7a036b674f fru: ops: Add support to read mac addresses from multirecord
Add support to read MAC addresses from mac address multirecord.
Check if multi record is found, then jump to mac address multirecord by
comparing the record type field. If it matches mac address
multirecord(0xD2), then copy mac addresses.

Copy these read MAC address in xilinx_read_eeprom_fru so that they are
updated to eth*addr in board_late_init_xilinx().

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/18f31bc528820934854ea5fd9dc581778fc1e40c.1645624855.git.michal.simek@xilinx.com
2022-03-07 08:48:22 +01:00
..
board.c fru: ops: Add support to read mac addresses from multirecord 2022-03-07 08:48:22 +01:00
board.h xilinx: board: Read the whole eeprom not just offset 2020-10-27 08:13:32 +01:00
fru.c global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
fru.h fru: ops: Add support to read mac addresses from multirecord 2022-03-07 08:48:22 +01:00
fru_ops.c fru: ops: Add support to read mac addresses from multirecord 2022-03-07 08:48:22 +01:00
Makefile xilinx: cmd: Add support for FRU commands 2020-10-27 08:13:32 +01:00