board: microchip: set mac address for ethernet1 on icicle
authorConor Dooley <conor.dooley@microchip.com>
Thu, 15 Jun 2023 10:12:44 +0000 (11:12 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 6 Jul 2023 09:28:08 +0000 (17:28 +0800)
commite530bb743be1ca956715989af92396175b8a8cd5
tree6e52ed29d2316ecc83969f5c0e23ea3c23c47317
parent4e99899bd546b7cd60735df4b18da6eabdc38cb1
board: microchip: set mac address for ethernet1 on icicle

The dts sync from Linux leaves mac0/ethernet1 enabled on icicle, but
U-Boot does not currently set a mac address for it. Expand on the code
which currently sets the mac for mac1/ethernet0 to optionally set the
mac address for the second ethernet.

Reviewed-by: Padmarao Begari <padmarao.begari@microchip.com>
Tested-by: Padmarao Begari <padmarao.begari@microchip.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
board/microchip/mpfs_icicle/mpfs_icicle.c