[U-Boot] [PATCH 1/3][Net][ARM] Moved Davinci Ethernet driver to drivers/net

Ben Warren
2009-04-28T17:12:11Z

The driver has been renamed dm644x_emac.c

Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
---
cpu/arm926ejs/davinci/Makefile | 2 +-
drivers/net/Makefile | 1 +
.../davinci/ether.c => drivers/net/dm644x_emac.c | 0
3 files changed, 2 insertions(+), 1 deletions(-)
rename cpu/arm926ejs/davinci/ether.c => drivers/net/dm644x_emac.c (100%)

diff --git a/cpu/arm926ejs/davinci/Makefile b/cpu/arm926ejs/davinci/Makefile
index ed24e65..d77aa46 100644
--- a/cpu/arm926ejs/davinci/Makefile
+++ b/cpu/arm926ejs/davinci/Makefile
@@ -27,7 +27,7 @@ include $(TOPDIR)/config.mk

LIB = $(obj)lib$(SOC).a

-COBJS = timer.o ether.o lxt972.o dp83848.o
+COBJS = timer.o lxt972.o dp83848.o
SOBJS = lowlevel_init.o reset.o

SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index a360a50..26f1ea6 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -64,6 +64,7 @@ COBJS-$(CONFIG_SH_ETHER) += sh_eth.o
COBJS-$(CONFIG_DRIVER_SMC91111) += smc91111.o
COBJS-$(CONFIG_DRIVER_SMC911X) += smc911x.o
COBJS-$(CONFIG_TIGON3) += tigon3.o bcm570x_autoneg.o 5701rls.o
+COBJS-$(CONFIG_DRIVER_TI_EMAC) += dm644x_emac.o
COBJS-$(CONFIG_TSEC_ENET) += tsec.o
COBJS-$(CONFIG_TSI108_ETH) += tsi108_eth.o
COBJS-$(CONFIG_ULI526X) += uli526x.o
diff --git a/cpu/arm926ejs/davinci/ether.c b/drivers/net/dm644x_emac.c
similarity index 100%
rename from cpu/arm926ejs/davinci/ether.c
rename to drivers/net/dm644x_emac.c
--
1.5.6.3