pxe: Use ethact setting for pxe
authorRob Herring <rob.herring@calxeda.com>
Mon, 3 Dec 2012 03:00:20 +0000 (21:00 -0600)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 25 Jun 2013 00:07:32 +0000 (19:07 -0500)
commitef034c9d7069f19f9424c98beb9ca2ec027fb18b
treee8052d1de1e6a9f10d33fd7d19eecd31532f881b
parent0fae25089d9e3303e952a4227bd2c1edccabfa20
pxe: Use ethact setting for pxe

Get the MAC address using eth_getenv_enetaddr_by_index so that the MAC
address of ethact is used. This enables using the a NIC other than the
first one for PXE boot.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
common/cmd_pxe.c