net: Don't call board/cpu_eth_init() with driver model
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jan 2016 21:51:56 +0000 (14:51 -0700)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 28 Jan 2016 18:32:45 +0000 (12:32 -0600)
commitc32a6fd07b1839e4a45729587ebc8e1c55601a4d
tree29b17ac2ae6aed2d2e1576e0f60767167304604d
parentdfa71e9fcbb142d3cf253054f83e4a4b4ea63f94
net: Don't call board/cpu_eth_init() with driver model

We should avoid weak functions with driver model. Existing boards that use
driver model don't need them, so let's kill them off.

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