projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d41e5e6
)
Disable debug print for normal use.
author
wdenk
<wdenk>
Thu, 7 Aug 2003 14:52:18 +0000
(14:52 +0000)
committer
wdenk
<wdenk>
Thu, 7 Aug 2003 14:52:18 +0000
(14:52 +0000)
Fix MPC5200 FEC driver
common/cmd_flash.c
patch
|
blob
|
history
cpu/mpc5xxx/fec.c
patch
|
blob
|
history
diff --git
a/common/cmd_flash.c
b/common/cmd_flash.c
index 4de022ee8f13cc48e8a92c930624c3bc3d3d28a9..99d9130c1841f471b265c7dbca68e1e29dc90365 100644
(file)
--- 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 16ca0a9d20d8cd29db4bdb82f4cd881ba31a0d0f..b01e44c18e6d342e0bfe31329e6040c5cc015076 100644
(file)
--- 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
;
}
/********************************************************************/