aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/cpu/mpc8xx/fec.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-06-20 13:54:54 +0900
committerTom Rini <trini@ti.com>2014-07-07 19:43:02 -0400
commitc51c1c9af95ff4fa365024e4d815576e818c51aa (patch)
treeeee7dcee3d3a05804d30e618ac03e36189812741 /arch/powerpc/cpu/mpc8xx/fec.c
parentc750b9c01223034f5ad49da3f0fe834f1cb0a93f (diff)
downloadu-boot-midas-c51c1c9af95ff4fa365024e4d815576e818c51aa.tar.gz
u-boot-midas-c51c1c9af95ff4fa365024e4d815576e818c51aa.tar.bz2
u-boot-midas-c51c1c9af95ff4fa365024e4d815576e818c51aa.zip
mpc8xx: remove netta, netta2, netphone board support
These boards are old enough and have no maintainers. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc8xx/fec.c')
-rw-r--r--arch/powerpc/cpu/mpc8xx/fec.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/powerpc/cpu/mpc8xx/fec.c b/arch/powerpc/cpu/mpc8xx/fec.c
index 65dfeabba4..ccb460ef96 100644
--- a/arch/powerpc/cpu/mpc8xx/fec.c
+++ b/arch/powerpc/cpu/mpc8xx/fec.c
@@ -377,26 +377,6 @@ static void fec_pin_init(int fecidx)
*/
immr->im_cpm.cp_fec1.fec_mii_speed = ((bd->bi_intfreq + 4999999) / 5000000) << 1;
-#if defined(CONFIG_NETTA) || defined(CONFIG_NETPHONE) || defined(CONFIG_NETTA2)
- {
- volatile fec_t *fecp;
-
- /*
- * only two FECs please
- */
- if ((unsigned int)fecidx >= 2)
- hang();
-
- if (fecidx == 0)
- fecp = &immr->im_cpm.cp_fec1;
- else
- fecp = &immr->im_cpm.cp_fec2;
-
- /* our PHYs are the limit at 2.5 MHz */
- fecp->fec_mii_speed <<= 1;
- }
-#endif
-
#if defined(CONFIG_MPC885_FAMILY) && defined(WANT_MII)
/* use MDC for MII */
immr->im_ioport.iop_pdpar |= 0x0080;