Disable debug print for normal use.
Fix MPC5200 FEC driver
This commit is contained in:
parent
d41e5e6994
commit
013dc8d9b9
@ -277,7 +277,7 @@ int flash_sect_erase (ulong addr_first, ulong addr_last)
|
|||||||
++bank, ++info) {
|
++bank, ++info) {
|
||||||
if (s_first[bank]>=0) {
|
if (s_first[bank]>=0) {
|
||||||
erased += s_last[bank] - s_first[bank] + 1;
|
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 ",
|
"in Bank # %ld ",
|
||||||
info->start[s_first[bank]],
|
info->start[s_first[bank]],
|
||||||
(s_last[bank] == info->sector_count) ?
|
(s_last[bank] == info->sector_count) ?
|
||||||
|
@ -491,7 +491,7 @@ static int mpc5xxx_fec_init(struct eth_device *dev, bd_t * bis)
|
|||||||
printf("mpc5xxx_fec_init... Done \n");
|
printf("mpc5xxx_fec_init... Done \n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/********************************************************************/
|
/********************************************************************/
|
||||||
|
Loading…
Reference in New Issue
Block a user