diff options
| author | Ben Warren <biggerbadderben@gmail.com> | 2008-11-09 21:29:23 -0800 | 
|---|---|---|
| committer | Ben Warren <biggerbadderben@gmail.com> | 2008-11-09 21:38:04 -0800 | 
| commit | 4d03a4e20e58552cb96d61a0e8b56cdb6cc60126 (patch) | |
| tree | f3aec263cbfba016beac2690e2e7a01ef750bf13 | |
| parent | 96e21f86e8266ed40759e5495ee461265d7f6d28 (diff) | |
| download | olio-uboot-2014.01-4d03a4e20e58552cb96d61a0e8b56cdb6cc60126.tar.xz olio-uboot-2014.01-4d03a4e20e58552cb96d61a0e8b56cdb6cc60126.zip | |
Moved PPC4xx EMAC driver to drivers/net
Also changed path in all linker scripts that reference this driver
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Acked-by: Stefan Roese <sr@denx.de>
| -rw-r--r-- | board/cray/L1/u-boot.lds | 2 | ||||
| -rw-r--r-- | board/csb272/u-boot.lds | 2 | ||||
| -rw-r--r-- | board/csb472/u-boot.lds | 2 | ||||
| -rw-r--r-- | board/dave/PPChameleonEVB/u-boot.lds | 2 | ||||
| -rw-r--r-- | board/eric/u-boot.lds | 2 | ||||
| -rw-r--r-- | board/esd/ar405/u-boot.lds | 2 | ||||
| -rw-r--r-- | board/esd/dp405/u-boot.lds | 2 | ||||
| -rw-r--r-- | board/esd/hub405/u-boot.lds | 2 | ||||
| -rw-r--r-- | board/esd/voh405/u-boot.lds | 2 | ||||
| -rw-r--r-- | board/g2000/u-boot.lds | 2 | ||||
| -rw-r--r-- | board/ml2/u-boot.lds | 2 | ||||
| -rw-r--r-- | board/mpl/mip405/u-boot.lds | 2 | ||||
| -rw-r--r-- | board/sandburst/karef/u-boot.lds | 2 | ||||
| -rw-r--r-- | board/sandburst/karef/u-boot.lds.debug | 2 | ||||
| -rw-r--r-- | board/sandburst/metrobox/u-boot.lds | 2 | ||||
| -rw-r--r-- | board/sandburst/metrobox/u-boot.lds.debug | 2 | ||||
| -rw-r--r-- | board/sbc405/u-boot.lds | 2 | ||||
| -rw-r--r-- | board/xilinx/ml300/u-boot.lds | 2 | ||||
| -rw-r--r-- | cpu/ppc4xx/Makefile | 2 | ||||
| -rw-r--r-- | drivers/net/4xx_enet.c (renamed from cpu/ppc4xx/4xx_enet.c) | 0 | ||||
| -rw-r--r-- | drivers/net/Makefile | 1 | 
21 files changed, 19 insertions, 20 deletions
| diff --git a/board/cray/L1/u-boot.lds b/board/cray/L1/u-boot.lds index 9d37257f5..f5b10f8b8 100644 --- a/board/cray/L1/u-boot.lds +++ b/board/cray/L1/u-boot.lds @@ -68,7 +68,7 @@ SECTIONS      cpu/ppc4xx/4xx_uart.o	(.text)      cpu/ppc4xx/cpu_init.o	(.text)      cpu/ppc4xx/speed.o	(.text) -    cpu/ppc4xx/4xx_enet.o	(.text) +    drivers/net/4xx_enet.o	(.text)      common/dlmalloc.o	(.text)      lib_generic/crc32.o		(.text)      lib_ppc/extable.o	(.text) diff --git a/board/csb272/u-boot.lds b/board/csb272/u-boot.lds index be381e17d..6c475553e 100644 --- a/board/csb272/u-boot.lds +++ b/board/csb272/u-boot.lds @@ -68,7 +68,7 @@ SECTIONS      cpu/ppc4xx/4xx_uart.o	(.text)      cpu/ppc4xx/cpu_init.o	(.text)      cpu/ppc4xx/speed.o	(.text) -    cpu/ppc4xx/4xx_enet.o	(.text) +    drivers/net/4xx_enet.o	(.text)      common/dlmalloc.o	(.text)      lib_generic/crc32.o		(.text) diff --git a/board/csb472/u-boot.lds b/board/csb472/u-boot.lds index 375150db1..fec2789d3 100644 --- a/board/csb472/u-boot.lds +++ b/board/csb472/u-boot.lds @@ -68,7 +68,7 @@ SECTIONS      cpu/ppc4xx/4xx_uart.o	(.text)      cpu/ppc4xx/cpu_init.o	(.text)      cpu/ppc4xx/speed.o	(.text) -    cpu/ppc4xx/4xx_enet.o	(.text) +    drivers/net/4xx_enet.o	(.text)      common/dlmalloc.o	(.text)      lib_generic/crc32.o		(.text) diff --git a/board/dave/PPChameleonEVB/u-boot.lds b/board/dave/PPChameleonEVB/u-boot.lds index ed02cef81..39bc654b6 100644 --- a/board/dave/PPChameleonEVB/u-boot.lds +++ b/board/dave/PPChameleonEVB/u-boot.lds @@ -66,7 +66,7 @@ SECTIONS      cpu/ppc4xx/4xx_uart.o	(.text)      cpu/ppc4xx/cpu_init.o	(.text)      cpu/ppc4xx/speed.o	(.text) -    cpu/ppc4xx/4xx_enet.o	(.text) +    drivers/net/4xx_enet.o	(.text)      common/dlmalloc.o	(.text)      lib_generic/crc32.o		(.text)      lib_ppc/extable.o	(.text) diff --git a/board/eric/u-boot.lds b/board/eric/u-boot.lds index 153e71f89..42872b20f 100644 --- a/board/eric/u-boot.lds +++ b/board/eric/u-boot.lds @@ -68,7 +68,7 @@ SECTIONS      cpu/ppc4xx/4xx_uart.o	(.text)      cpu/ppc4xx/cpu_init.o	(.text)      cpu/ppc4xx/speed.o	(.text) -    cpu/ppc4xx/4xx_enet.o	(.text) +    drivers/net/4xx_enet.o	(.text)      common/dlmalloc.o	(.text)      lib_generic/crc32.o		(.text)      lib_ppc/extable.o	(.text) diff --git a/board/esd/ar405/u-boot.lds b/board/esd/ar405/u-boot.lds index 4a881b6ed..cb58360b5 100644 --- a/board/esd/ar405/u-boot.lds +++ b/board/esd/ar405/u-boot.lds @@ -66,7 +66,7 @@ SECTIONS      cpu/ppc4xx/4xx_uart.o		(.text)      cpu/ppc4xx/cpu_init.o	(.text)      cpu/ppc4xx/speed.o		(.text) -    cpu/ppc4xx/4xx_enet.o	(.text) +    drivers/net/4xx_enet.o	(.text)      common/dlmalloc.o		(.text)      lib_generic/crc32.o		(.text)      lib_ppc/extable.o		(.text) diff --git a/board/esd/dp405/u-boot.lds b/board/esd/dp405/u-boot.lds index 7ff074c15..131166b6c 100644 --- a/board/esd/dp405/u-boot.lds +++ b/board/esd/dp405/u-boot.lds @@ -66,7 +66,7 @@ SECTIONS      cpu/ppc4xx/4xx_uart.o	(.text)      cpu/ppc4xx/cpu_init.o	(.text)      cpu/ppc4xx/speed.o	(.text) -    cpu/ppc4xx/4xx_enet.o	(.text) +    drivers/net/4xx_enet.o	(.text)      common/dlmalloc.o	(.text)      lib_generic/crc32.o		(.text)      lib_ppc/extable.o	(.text) diff --git a/board/esd/hub405/u-boot.lds b/board/esd/hub405/u-boot.lds index c4a1a4bc8..369241257 100644 --- a/board/esd/hub405/u-boot.lds +++ b/board/esd/hub405/u-boot.lds @@ -66,7 +66,7 @@ SECTIONS      cpu/ppc4xx/4xx_uart.o	(.text)      cpu/ppc4xx/cpu_init.o	(.text)      cpu/ppc4xx/speed.o	(.text) -    cpu/ppc4xx/4xx_enet.o	(.text) +    drivers/net/4xx_enet.o	(.text)      common/dlmalloc.o	(.text)      lib_generic/crc32.o		(.text)      lib_ppc/extable.o	(.text) diff --git a/board/esd/voh405/u-boot.lds b/board/esd/voh405/u-boot.lds index 7ff074c15..131166b6c 100644 --- a/board/esd/voh405/u-boot.lds +++ b/board/esd/voh405/u-boot.lds @@ -66,7 +66,7 @@ SECTIONS      cpu/ppc4xx/4xx_uart.o	(.text)      cpu/ppc4xx/cpu_init.o	(.text)      cpu/ppc4xx/speed.o	(.text) -    cpu/ppc4xx/4xx_enet.o	(.text) +    drivers/net/4xx_enet.o	(.text)      common/dlmalloc.o	(.text)      lib_generic/crc32.o		(.text)      lib_ppc/extable.o	(.text) diff --git a/board/g2000/u-boot.lds b/board/g2000/u-boot.lds index 7ff074c15..131166b6c 100644 --- a/board/g2000/u-boot.lds +++ b/board/g2000/u-boot.lds @@ -66,7 +66,7 @@ SECTIONS      cpu/ppc4xx/4xx_uart.o	(.text)      cpu/ppc4xx/cpu_init.o	(.text)      cpu/ppc4xx/speed.o	(.text) -    cpu/ppc4xx/4xx_enet.o	(.text) +    drivers/net/4xx_enet.o	(.text)      common/dlmalloc.o	(.text)      lib_generic/crc32.o		(.text)      lib_ppc/extable.o	(.text) diff --git a/board/ml2/u-boot.lds b/board/ml2/u-boot.lds index 1182f7400..80bf64466 100644 --- a/board/ml2/u-boot.lds +++ b/board/ml2/u-boot.lds @@ -63,7 +63,7 @@ SECTIONS      cpu/ppc4xx/4xx_uart.o	(.text)      cpu/ppc4xx/cpu_init.o	(.text)      cpu/ppc4xx/speed.o	(.text) -    cpu/ppc4xx/4xx_enet.o	(.text) +    drivers/net/4xx_enet.o	(.text)      common/dlmalloc.o	(.text)      lib_generic/crc32.o		(.text)      lib_ppc/extable.o	(.text) diff --git a/board/mpl/mip405/u-boot.lds b/board/mpl/mip405/u-boot.lds index 717f0d24d..8b67fef6c 100644 --- a/board/mpl/mip405/u-boot.lds +++ b/board/mpl/mip405/u-boot.lds @@ -72,7 +72,7 @@ SECTIONS      cpu/ppc4xx/4xx_uart.o	(.text)      cpu/ppc4xx/cpu_init.o	(.text)      cpu/ppc4xx/speed.o	(.text) -    cpu/ppc4xx/4xx_enet.o	(.text) +    drivers/net/4xx_enet.o	(.text)      common/dlmalloc.o	(.text)      lib_generic/crc32.o		(.text)      lib_ppc/extable.o	(.text) diff --git a/board/sandburst/karef/u-boot.lds b/board/sandburst/karef/u-boot.lds index 9b2c0788f..2439adb66 100644 --- a/board/sandburst/karef/u-boot.lds +++ b/board/sandburst/karef/u-boot.lds @@ -74,7 +74,7 @@ SECTIONS      cpu/ppc4xx/4xx_uart.o	(.text)      cpu/ppc4xx/cpu_init.o	(.text)      cpu/ppc4xx/speed.o	(.text) -    cpu/ppc4xx/4xx_enet.o	(.text) +    drivers/net/4xx_enet.o	(.text)      common/dlmalloc.o	(.text)      lib_generic/crc32.o		(.text)      lib_ppc/extable.o	(.text) diff --git a/board/sandburst/karef/u-boot.lds.debug b/board/sandburst/karef/u-boot.lds.debug index 15fe1e3f8..d00e25271 100644 --- a/board/sandburst/karef/u-boot.lds.debug +++ b/board/sandburst/karef/u-boot.lds.debug @@ -64,7 +64,7 @@ SECTIONS      cpu/ppc4xx/4xx_uart.o	(.text)      cpu/ppc4xx/cpu_init.o	(.text)      cpu/ppc4xx/speed.o	(.text) -    cpu/ppc4xx/4xx_enet.o	(.text) +    drivers/net/4xx_enet.o	(.text)      common/dlmalloc.o	(.text)      lib_generic/crc32.o		(.text)      lib_ppc/extable.o	(.text) diff --git a/board/sandburst/metrobox/u-boot.lds b/board/sandburst/metrobox/u-boot.lds index 16e0709b5..8c59a95f8 100644 --- a/board/sandburst/metrobox/u-boot.lds +++ b/board/sandburst/metrobox/u-boot.lds @@ -74,7 +74,7 @@ SECTIONS      cpu/ppc4xx/4xx_uart.o	(.text)      cpu/ppc4xx/cpu_init.o	(.text)      cpu/ppc4xx/speed.o	(.text) -    cpu/ppc4xx/4xx_enet.o	(.text) +    drivers/net/4xx_enet.o	(.text)      common/dlmalloc.o	(.text)      lib_generic/crc32.o		(.text)      lib_ppc/extable.o	(.text) diff --git a/board/sandburst/metrobox/u-boot.lds.debug b/board/sandburst/metrobox/u-boot.lds.debug index d122c050b..a3350f279 100644 --- a/board/sandburst/metrobox/u-boot.lds.debug +++ b/board/sandburst/metrobox/u-boot.lds.debug @@ -64,7 +64,7 @@ SECTIONS      cpu/ppc4xx/4xx_uart.o	(.text)      cpu/ppc4xx/cpu_init.o	(.text)      cpu/ppc4xx/speed.o	(.text) -    cpu/ppc4xx/4xx_enet.o	(.text) +    drivers/net/4xx_enet.o	(.text)      common/dlmalloc.o	(.text)      lib_generic/crc32.o		(.text)      lib_ppc/extable.o	(.text) diff --git a/board/sbc405/u-boot.lds b/board/sbc405/u-boot.lds index f3fd56f99..08d6f0a05 100644 --- a/board/sbc405/u-boot.lds +++ b/board/sbc405/u-boot.lds @@ -66,7 +66,7 @@ SECTIONS      cpu/ppc4xx/4xx_uart.o	(.text)      cpu/ppc4xx/cpu_init.o	(.text)      cpu/ppc4xx/speed.o	(.text) -    cpu/ppc4xx/4xx_enet.o	(.text) +    drivers/net/4xx_enet.o	(.text)      common/dlmalloc.o	(.text)      lib_generic/crc32.o		(.text)      lib_ppc/extable.o	(.text) diff --git a/board/xilinx/ml300/u-boot.lds b/board/xilinx/ml300/u-boot.lds index f05c7a61e..9c2174b80 100644 --- a/board/xilinx/ml300/u-boot.lds +++ b/board/xilinx/ml300/u-boot.lds @@ -64,7 +64,7 @@ SECTIONS      cpu/ppc4xx/4xx_uart.o	(.text)      cpu/ppc4xx/cpu_init.o	(.text)      cpu/ppc4xx/speed.o	(.text) -    cpu/ppc4xx/4xx_enet.o	(.text) +    drivers/net/4xx_enet.o	(.text)      common/dlmalloc.o	(.text)      lib_generic/crc32.o		(.text)      lib_ppc/extable.o	(.text) diff --git a/cpu/ppc4xx/Makefile b/cpu/ppc4xx/Makefile index adfe13ce7..96ab5c6a4 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 @@ -61,7 +60,6 @@ COBJS	+= usb.o  COBJS	+= usb_ohci.o  COBJS	+= usbdev.o  ifndef CONFIG_XILINX_440 -COBJS	+= 4xx_enet.o  COBJS	+= 4xx_uart.o  COBJS	+= gpio.o  COBJS	+= miiphy.o diff --git a/cpu/ppc4xx/4xx_enet.c b/drivers/net/4xx_enet.c index 197826959..197826959 100644 --- a/cpu/ppc4xx/4xx_enet.c +++ b/drivers/net/4xx_enet.c diff --git a/drivers/net/Makefile b/drivers/net/Makefile index 439c354f2..9e4a85497 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 |