Skip to contentSkip to conversation

CFG_CMD_SETGETDCR is not correctly used.

U-Boot-Users Cedric VINCENT 2 participants 2 messages Jul 6, 2005

lore
Share & tools
lore
#0 lore raw

Dear Wolfgang.

In "common/cmd_dcr.c" :
-----------
- #if defined(CONFIG_4xx) && defined(CFG_CMD_SETGETDCR)
+ #if defined(CONFIG_4xx) && (CONFIG_COMMANDS & CFG_CMD_SETGETDCR)
-----------
since CFG_CMD_SETGETDCR is always defined (in "include/cmd_confdefs.h") !

Cedric VINCENT.

#1 lore raw
Quoted 7 lines · In message <[email protected]> you wrote:

In "common/cmd_dcr.c" :
-----------
- #if defined(CONFIG_4xx) && defined(CFG_CMD_SETGETDCR)
+ #if defined(CONFIG_4xx) && (CONFIG_COMMANDS & CFG_CMD_SETGETDCR)
-----------
since CFG_CMD_SETGETDCR is always defined (in "include/cmd_confdefs.h") !

Thanks for pointing out, fixed.

Best regards,

Wolfgang Denk

Signature · 5 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Hi there! This is just a note from me, to you, to tell you, the  per-
son  reading this note, that I can't think up any more famous quotes,
jokes, nor bizarre stories, so you may as well go home.