aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-08-07 14:52:18 +0000
committerwdenk <wdenk>2003-08-07 14:52:18 +0000
commit013dc8d9b9d3097150790b381494a133438efae7 (patch)
treedc354433b8325412d89ca31dd757337f60973f5c
parentd41e5e6994f41a27be57f3ae42212a4e264d609b (diff)
downloadu-boot-linaro-stable-013dc8d9b9d3097150790b381494a133438efae7.tar.gz
Disable debug print for normal use.
Fix MPC5200 FEC driver
-rw-r--r--common/cmd_flash.c2
-rw-r--r--cpu/mpc5xxx/fec.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_flash.c b/common/cmd_flash.c
index 4de022ee8..99d9130c1 100644
--- a/common/cmd_flash.c
+++ b/common/cmd_flash.c
@@ -277,7 +277,7 @@ int flash_sect_erase (ulong addr_first, ulong addr_last)
++bank, ++info) {
if (s_first[bank]>=0) {
erased += s_last[bank] - s_first[bank] + 1;
- printf ("Erase Flash from 0x%08lx to 0x%08lx "
+ debug ("Erase Flash from 0x%08lx to 0x%08lx "
"in Bank # %ld ",
info->start[s_first[bank]],
(s_last[bank] == info->sector_count) ?
diff --git a/cpu/mpc5xxx/fec.c b/cpu/mpc5xxx/fec.c
index 16ca0a9d2..b01e44c18 100644
--- a/cpu/mpc5xxx/fec.c
+++ b/cpu/mpc5xxx/fec.c
@@ -491,7 +491,7 @@ static int mpc5xxx_fec_init(struct eth_device *dev, bd_t * bis)
printf("mpc5xxx_fec_init... Done \n");
#endif
- return 0;
+ return 1;
}
/********************************************************************/