p2371-2180: Pass Ethernet MAC to the kernel
authorThierry Reding <treding@nvidia.com>
Mon, 15 Apr 2019 09:32:33 +0000 (11:32 +0200)
committerTom Warren <twarren@nvidia.com>
Wed, 5 Jun 2019 16:16:35 +0000 (09:16 -0700)
commita930a727423c6559ccf0b35c833669ad491a3db5
tree5b4f4ca92874caad98d1f59fe542cdd49ffb1c39
parent74a50ac2a4b9a1906fa3787a4bcd5b079e97d3f8
p2371-2180: Pass Ethernet MAC to the kernel

Pass the ethernet MAC address to the kernel upon boot. This passes both
the local-mac-address property (as passed to U-Boot from cboot) and the
currently set MAC address via the mac-address property. The latter will
only be set if it is different from the address that was already passed
via the local-mac-address property.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
board/nvidia/p2371-2180/p2371-2180.c
configs/p2371-2180_defconfig