ARM: tegra: configure Ethernet address on Tegra186
authorStephen Warren <swarren@nvidia.com>
Mon, 12 Sep 2016 17:51:13 +0000 (11:51 -0600)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 7 Nov 2016 17:28:16 +0000 (11:28 -0600)
commit2b950f3aea8a3a222de661e99b8a4a029dbb9cca
tree830d380654baaca4525835ff092d5c6d21e8a20d
parent86919a23060ca0628242aa022a1268d26d29b4e1
ARM: tegra: configure Ethernet address on Tegra186

On Tegra186, the bootloader which runs before U-Boot passes the Ethernet
MAC address to U-Boot using device tree. Extract this value and write it
to the environment, so that the Ethernet uclass picks it up and uses it
for the built-in Ethernet device.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
arch/arm/mach-tegra/tegra186/Makefile
arch/arm/mach-tegra/tegra186/nvtboot_board.c [new file with mode: 0644]