net: export eth_setenv_enetaddr_by_index() to net.h
authorRoger Quadros <rogerq@ti.com>
Fri, 18 Mar 2016 11:18:11 +0000 (13:18 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 27 Mar 2016 13:12:26 +0000 (09:12 -0400)
commit5350bc8f65a96d7f3c2519ae2d76cafea875103a
treec47794006a1a4ed47db627bf37a8174db46b9349
parentce1a7d1564920e35ad5c7a1f4e68aaec496ec9d4
net: export eth_setenv_enetaddr_by_index() to net.h

Some TI boards (e.g. IDK) have 4 to 6 ethernet ports and
this function is handy at board.c to configure the
MAC address of the ports.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/net.h