]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: net: Use existing Ethernet init for driver model
authorSimon Glass <sjg@chromium.org>
Sun, 5 Apr 2015 22:07:37 +0000 (16:07 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:28:33 +0000 (22:28 +0200)
commit978c9a624625b91210aa4132afba70087a442d1c
tree01de207a84d811c23ca6531a84bb1fd7bddbe201
parent99d2f20c15b2ead7212bed539372bbb8fde79782
dm: net: Use existing Ethernet init for driver model

At present even with driver model is used there is still much manual init
of related devices: PHY, environment and board init. Until these requirements
are dealt with in another way we need to keep them around.

Break out the init portion of the legacy eth_initialize() into a separate
function and call it from both the legacy and driver model eth_initialize()
functions.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
net/eth.c