summaryrefslogtreecommitdiffstats
path: root/net/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-17 14:51:57 -0700
committerJoe Hershberger <joe.hershberger@ni.com>2016-01-28 12:32:45 -0600
commit818f91eb5778781083e33ce3291bba76a3f1601c (patch)
tree99b1f72f8a64acf204acebb8ab07d2525190b5cd /net/Makefile
parentc32a6fd07b1839e4a45729587ebc8e1c55601a4d (diff)
downloadtalos-obmc-uboot-818f91eb5778781083e33ce3291bba76a3f1601c.tar.gz
talos-obmc-uboot-818f91eb5778781083e33ce3291bba76a3f1601c.zip
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>
Diffstat (limited to 'net/Makefile')
-rw-r--r--net/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index e9cc8ada96..b3a22c2e5b 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -13,6 +13,7 @@ obj-$(CONFIG_CMD_NET) += bootp.o
obj-$(CONFIG_CMD_CDP) += cdp.o
obj-$(CONFIG_CMD_DNS) += dns.o
obj-$(CONFIG_CMD_NET) += eth.o
+obj-$(CONFIG_CMD_NET) += eth_common.o
obj-$(CONFIG_CMD_LINK_LOCAL) += link_local.o
obj-$(CONFIG_CMD_NET) += net.o
obj-$(CONFIG_CMD_NFS) += nfs.o
OpenPOWER on IntegriCloud