u-boot/board/xilinx/common
Ashok Reddy Soma ff8ee707fb xilinx: common: Optimise updating ethaddr from eeprom
In board_late_init_xilinx() eth*addr are updated from the values read from
eeprom. Ideally the MAC addresses are updated sequencially. So if any
MAC address is invalid, it means there are no further valid values.
So optimise this logic by replacing continue with break.

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/efef0d07add5d5777396ea111ad75411dc402db3.1645624855.git.michal.simek@xilinx.com
2022-03-07 08:48:21 +01:00
..
board.c xilinx: common: Optimise updating ethaddr from eeprom 2022-03-07 08:48:21 +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: common: Record pcie/uuid fields in custom board area 2020-11-20 10:42:54 +01:00
fru_ops.c fru: ops: Return error from checksum if data is all zero's 2022-03-07 08:48:21 +01:00
Makefile xilinx: cmd: Add support for FRU commands 2020-10-27 08:13:32 +01:00