]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: sh_eth: Split sh_eth_init
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 21 Jan 2018 14:10:21 +0000 (15:10 +0100)
committerMarek Vasut <marex@denx.de>
Sat, 27 Jan 2018 19:38:53 +0000 (20:38 +0100)
commit013af64f8f0d01d16acee1eca9a7f4097d6a1b95
tree756bb93a1df67badda1a5438b043444fc3da516c
parent68ac92e9378c3453c86de35df0b6700181f4393b
net: sh_eth: Split sh_eth_init

Split sh_eth_init() function into smaller chunks, which can
be called from both DM and non-DM code while handling the
specifics of both configurations.

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