]> git.ipfire.org Git - people/ms/u-boot.git/commit - net/Makefile
net: Move common init into a new eth_common.c file
authorSimon Glass <sjg@chromium.org>
Sun, 17 Jan 2016 21:51:57 +0000 (14:51 -0700)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 28 Jan 2016 18:32:45 +0000 (12:32 -0600)
commit818f91eb5778781083e33ce3291bba76a3f1601c
tree99b1f72f8a64acf204acebb8ab07d2525190b5cd
parentc32a6fd07b1839e4a45729587ebc8e1c55601a4d
net: Move common init into a new eth_common.c file

Only half of the init is actually common. Move that part into a new common
file and call it from driver-model and legacy code. More common functions
will be added in future patches.

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/Makefile
net/eth.c
net/eth_common.c [new file with mode: 0644]
net/eth_internal.h [new file with mode: 0644]