diff options
author | stroese <stroese> | 2003-12-09 14:57:03 +0000 |
---|---|---|
committer | stroese <stroese> | 2003-12-09 14:57:03 +0000 |
commit | 38a951956b90c7f25abf893d8a21528379e3d8b6 (patch) | |
tree | 3de0a13819578b14782581e4c30657e502462b6e /cpu/ppc4xx/miiphy.c | |
parent | 939403bca911e8216dc13d1e029f7483aa790002 (diff) | |
download | u-boot-imx-38a951956b90c7f25abf893d8a21528379e3d8b6.zip u-boot-imx-38a951956b90c7f25abf893d8a21528379e3d8b6.tar.gz u-boot-imx-38a951956b90c7f25abf893d8a21528379e3d8b6.tar.bz2 |
Debug printf's removed.
Diffstat (limited to 'cpu/ppc4xx/miiphy.c')
-rw-r--r-- | cpu/ppc4xx/miiphy.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpu/ppc4xx/miiphy.c b/cpu/ppc4xx/miiphy.c index 9f0a47f..fce5f4b 100644 --- a/cpu/ppc4xx/miiphy.c +++ b/cpu/ppc4xx/miiphy.c @@ -93,7 +93,9 @@ int miiphy_read (unsigned char addr, unsigned char reg, while ((in32 (EMAC_STACR) & EMAC_STACR_OC) == 0) { udelay (7); if (i > 5) { +#if 0 /* test-only */ printf ("read err 1\n"); +#endif return -1; } i++; @@ -116,16 +118,20 @@ int miiphy_read (unsigned char addr, unsigned char reg, while ((sta_reg & EMAC_STACR_OC) == 0) { udelay (7); if (i > 5) { +#if 0 /* test-only */ printf ("read err 2\n"); +#endif return -1; } i++; sta_reg = in32 (EMAC_STACR); } if ((sta_reg & EMAC_STACR_PHYE) != 0) { +#if 0 /* test-only */ printf ("read err 3\n"); printf ("a2: read: EMAC_STACR=0x%0lx, i=%d\n", sta_reg, (int) i); /* test-only */ +#endif return -1; } |