summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-17 14:52:01 -0700
committerJoe Hershberger <joe.hershberger@ni.com>2016-01-28 12:32:48 -0600
commitc4998f9634a023d498f647fa0f7fea7b08b22852 (patch)
treeb88a787b79a7b38f5248dacb05ea8a5285f455b3 /net
parentdb9391e165dd0bb94caa246d5ade756b491b09d4 (diff)
downloadu-boot-imx-c4998f9634a023d498f647fa0f7fea7b08b22852.zip
u-boot-imx-c4998f9634a023d498f647fa0f7fea7b08b22852.tar.gz
u-boot-imx-c4998f9634a023d498f647fa0f7fea7b08b22852.tar.bz2
net: Rename eth.c to eth_lecacy.c
Rename this file to make it clear it is for the old networking drivers and not for use with driver model. 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')
-rw-r--r--net/Makefile2
-rw-r--r--net/eth_legacy.c (renamed from net/eth.c)0
2 files changed, 1 insertions, 1 deletions
diff --git a/net/Makefile b/net/Makefile
index 943de14..f03d608 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -15,7 +15,7 @@ obj-$(CONFIG_CMD_DNS) += dns.o
ifdef CONFIG_DM_ETH
obj-$(CONFIG_CMD_NET) += eth-uclass.o
else
-obj-$(CONFIG_CMD_NET) += eth.o
+obj-$(CONFIG_CMD_NET) += eth_legacy.o
endif
obj-$(CONFIG_CMD_NET) += eth_common.o
obj-$(CONFIG_CMD_LINK_LOCAL) += link_local.o
diff --git a/net/eth.c b/net/eth_legacy.c
index bdcd6ea..bdcd6ea 100644
--- a/net/eth.c
+++ b/net/eth_legacy.c