public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] What is CFG_CMD_ECHO for?
@ 2005-04-02  8:26 Sam Song
  2005-04-11  8:14 ` Detlev Zundel
  0 siblings, 1 reply; 4+ messages in thread
From: Sam Song @ 2005-04-02  8:26 UTC (permalink / raw)
  To: u-boot

Hi all,

I happened to find that the configuration CFG_CMD_ECHO
isn't be used in code at all but exist on README and 
is listed as Non-Default configuration. 

[root at sam u-boot]# grep -r CFG_CMD_ECHO ./
./README:               CFG_CMD_ECHO    * echo
arguments
./include/cmd_confdefs.h:#define CFG_CMD_ECHO         
 0x00080000ULL   /* echo arguments         */
./include/cmd_confdefs.h:                      
CFG_CMD_ECHO    | \
./include/configs/CRAYL1.h:     CFG_CMD_ECHO|\
......
./include/configs/PK1C20.h:                           
  CFG_CMD_ECHO   | \
./.#README.1.107:               CFG_CMD_ECHO    * echo
arguments
./.#README.1.108:               CFG_CMD_ECHO    * echo
arguments

In common/command.c, we can see that no any Macro 
defined before u-boot echo command.

So my puzzle come to know why keep this configuration?

Thanks for reading,

Sam

_________________________________________________________
Do You Yahoo!?
150??MP3????????????
http://cn.rd.yahoo.com/mail_cn/tag/yisou/music/*http://music.yisou.com/
???????????????????
http://cn.rd.yahoo.com/mail_cn/tag/yisou/image/*http://image.yisou.com
1G??1000???????????
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] What is CFG_CMD_ECHO for?
  2005-04-02  8:26 Sam Song
@ 2005-04-11  8:14 ` Detlev Zundel
  0 siblings, 0 replies; 4+ messages in thread
From: Detlev Zundel @ 2005-04-11  8:14 UTC (permalink / raw)
  To: u-boot

Hi Sam,

> I happened to find that the configuration CFG_CMD_ECHO
> isn't be used in code at all but exist on README and 
> is listed as Non-Default configuration. 
>

[...]

> In common/command.c, we can see that no any Macro 
> defined before u-boot echo command.
>
> So my puzzle come to know why keep this configuration?

This indeed looks like hysterical cruft.  Do you mind throwing
together a patch to remove it?

Cheers
  Detlev

-- 
It was actually a very beautiful thing to see a sunrise, cause' that's
such a calm time of day. It's a wonderful time of day  to get ready to
go to bed.
                                            -- Richard M. Stallman

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] What is CFG_CMD_ECHO for?
@ 2005-04-11  8:59 Sam Song
  2005-04-12 12:51 ` Detlev Zundel
  0 siblings, 1 reply; 4+ messages in thread
From: Sam Song @ 2005-04-11  8:59 UTC (permalink / raw)
  To: u-boot

--- Detlev Zundel <dzu@denx.de> wrote:
[snip]
> This indeed looks like hysterical cruft.  Do you
> mind throwing together a patch to remove it?

Wolfgang suggested me to send a patch as well. I 
promised to make it. But I cannot access the CVS
tree for the moment. Could I send the patch against 
1.1.2?

Thanks for your concern,

Sam

_________________________________________________________
Do You Yahoo!?
150??MP3????????????
http://cn.rd.yahoo.com/mail_cn/tag/yisou/music/*http://music.yisou.com/
???????????????????
http://cn.rd.yahoo.com/mail_cn/tag/yisou/image/*http://image.yisou.com
1G??1000???????????
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] What is CFG_CMD_ECHO for?
  2005-04-11  8:59 [U-Boot-Users] What is CFG_CMD_ECHO for? Sam Song
@ 2005-04-12 12:51 ` Detlev Zundel
  0 siblings, 0 replies; 4+ messages in thread
From: Detlev Zundel @ 2005-04-12 12:51 UTC (permalink / raw)
  To: u-boot

Hi Sam,

> --- Detlev Zundel <dzu@denx.de> wrote:
> [snip]
>> This indeed looks like hysterical cruft.  Do you
>> mind throwing together a patch to remove it?
>
> Wolfgang suggested me to send a patch as well. I 
> promised to make it. But I cannot access the CVS
> tree for the moment. Could I send the patch against 
> 1.1.2?

Regarding the potential wasted time I'd say send a patch against TOT
when your CVS access is back up.

TIA
  Detlev

-- 
Practice random senselessness and act kind of beautiful.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-04-12 12:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-11  8:59 [U-Boot-Users] What is CFG_CMD_ECHO for? Sam Song
2005-04-12 12:51 ` Detlev Zundel
  -- strict thread matches above, loose matches on Subject: below --
2005-04-02  8:26 Sam Song
2005-04-11  8:14 ` Detlev Zundel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox