[U-Boot] [PATCH 2/3][ppc4xx] Moved PPC4xx EMAC driver to drivers/net

Ben Warren biggerbadderben at gmail.com
Tue Nov 4 08:10:36 CET 2008


Signed-off-by: Ben Warren <biggerbadderben at gmail.com>
---
Rebased against 4xx tree.  Please test and ACK/NAK.

 cpu/ppc4xx/Makefile                    |    1 -
 {cpu/ppc4xx => drivers/net}/4xx_enet.c |    0 
 drivers/net/Makefile                   |    1 +
 3 files changed, 1 insertions(+), 1 deletions(-)
 rename {cpu/ppc4xx => drivers/net}/4xx_enet.c (100%)

diff --git a/cpu/ppc4xx/Makefile b/cpu/ppc4xx/Makefile
index adfe13c..463b575 100644
--- a/cpu/ppc4xx/Makefile
+++ b/cpu/ppc4xx/Makefile
@@ -38,7 +38,6 @@ COBJS	+= 44x_spd_ddr2.o
 ifdef CONFIG_PPC4xx_DDR_AUTOCALIBRATION
 COBJS	+= 4xx_ibm_ddr2_autocalib.o
 endif
-COBJS-$(CONFIG_PPC4xx_EMAC) += 4xx_enet.o
 COBJS	+= 4xx_pci.o
 COBJS	+= 4xx_pcie.o
 COBJS	+= bedbug_405.o
diff --git a/cpu/ppc4xx/4xx_enet.c b/drivers/net/4xx_enet.c
similarity index 100%
rename from cpu/ppc4xx/4xx_enet.c
rename to drivers/net/4xx_enet.c
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 439c354..9e4a854 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -54,6 +54,7 @@ COBJS-$(CONFIG_NS8382X) += ns8382x.o
 COBJS-$(CONFIG_DRIVER_NS9750_ETHERNET) += ns9750_eth.o
 COBJS-$(CONFIG_PCNET) += pcnet.o
 COBJS-$(CONFIG_PLB2800_ETHER) += plb2800_eth.o
+COBJS-$(CONFIG_PPC4xx_EMAC) += 4xx_enet.o
 COBJS-$(CONFIG_DRIVER_RTL8019) += rtl8019.o
 COBJS-$(CONFIG_RTL8139) += rtl8139.o
 COBJS-$(CONFIG_RTL8169) += rtl8169.o
-- 
1.5.4.3



More information about the U-Boot mailing list