]> git.baikalelectronics.ru Git - uboot.git/commit
net: sh_eth: Separate out MAC address programming
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 21 Jan 2018 13:55:44 +0000 (14:55 +0100)
committerMarek Vasut <marex@denx.de>
Sat, 27 Jan 2018 19:38:53 +0000 (20:38 +0100)
commit4a1ec5cc0235d78114e05e2e5d7ef7e5f7e1c89f
tree345790df2e9e648092f156e44664d1bd60770c91
parentab233aa7cf8cde64671a8bb9cf965162f88dae21
net: sh_eth: Separate out MAC address programming

Pull out the code for writing MAC address into the NIC into a
separate function, so it can be reused by both DM and non-DM
code. This is done in preparation for DM support, which handles
MAC address programming separately.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/sh_eth.c