]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Move MPC512x_FEC driver to drivers/net
authorBen Warren <biggerbadderben@gmail.com>
Fri, 29 Aug 2008 06:58:30 +0000 (23:58 -0700)
committerJohn Rigby <jrigby@freescale.com>
Fri, 29 Aug 2008 19:58:12 +0000 (13:58 -0600)
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
cpu/mpc512x/Makefile
drivers/net/Makefile
drivers/net/mpc512x_fec.c [moved from cpu/mpc512x/fec.c with 99% similarity]
drivers/net/mpc512x_fec.h [moved from cpu/mpc512x/fec.h with 100% similarity]

index 8ba8ae875dd94a0a46b2a7ca0bb82fd3d6950f08..e8f106074850e865e320bc638b8d3dc78613cd2d 100644 (file)
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
 LIB    = $(obj)lib$(CPU).a
 
 START  = start.o
-COBJS  = traps.o cpu.o cpu_init.o speed.o interrupts.o serial.o fec.o i2c.o iopin.o
+COBJS  = traps.o cpu.o cpu_init.o speed.o interrupts.o serial.o i2c.o iopin.o
 
 SRCS   := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS))
index c68d3e7a2008161f9a79da0cbb8d908649ada38b..a084000a9384a7339519876308e547d762978f49 100644 (file)
@@ -42,6 +42,7 @@ COBJS-$(CONFIG_DRIVER_LAN91C96) += lan91c96.o
 COBJS-$(CONFIG_MACB) += macb.o
 COBJS-$(CONFIG_MCFFEC) += mcffec.o
 COBJS-$(CONFIG_MPC5xxx_FEC) += mpc5xxx_fec.o
+COBJS-$(CONFIG_MPC512x_FEC) += mpc512x_fec.o
 COBJS-$(CONFIG_NATSEMI) += natsemi.o
 ifeq ($(CONFIG_DRIVER_NE2000),y)
 COBJS-y += ne2000.o
similarity index 99%
rename from cpu/mpc512x/fec.c
rename to drivers/net/mpc512x_fec.c
index e9df7de5e77654b9228dd650fe748acd276eb74b..7caeeda6533b0b4f94ad17ea9afef1a2ace2952f 100644 (file)
@@ -11,7 +11,7 @@
 #include <malloc.h>
 #include <net.h>
 #include <miiphy.h>
-#include "fec.h"
+#include "mpc512x_fec.h"
 
 DECLARE_GLOBAL_DATA_PTR;
 
similarity index 100%
rename from cpu/mpc512x/fec.h
rename to drivers/net/mpc512x_fec.h