86xx: Fix lingering CFG_CMD_* references in sbc8641d.h
PATCH 1/1 86xx: Fix lingering CFG_CMD_* references in sbc8641d.h
Remove a leftover in net/tftp.c while we're at it.
---
Someone, who should have known-better,
should have caught this earlier. :-)
include/configs/sbc8641d.h | 6 +++--- net/tftp.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
include/configs/sbc8641d.h +3 -3
@@ -492,7 +492,7 @@#define CFG_LOAD_ADDR 0x2000000/* default load address */ #define CFG_PROMPT "=> "/* Monitor Command Prompt */ -#if (CONFIG_COMMANDS &CFG_CMD_KGDB ) +#if defined(CONFIG_CMD_KGDB )#define CFG_CBSIZE 1024/* Console I/O Buffer Size */ #else #define CFG_CBSIZE 256/* Console I/O Buffer Size */
@@ -513,7 +513,7 @@/* Cache Configuration */ #define CFG_DCACHE_SIZE 32768#define CFG_CACHELINE_SIZE 32 -#if (CONFIG_COMMANDS &CFG_CMD_KGDB ) +#if defined(CONFIG_CMD_KGDB )#define CFG_CACHELINE_SHIFT 5/*log base 2 of the above value*/ #endif
@@ -525,7 +525,7 @@#define BOOTFLAG_COLD 0x01/* Normal Power-On: Boot from FLASH */ #define BOOTFLAG_WARM 0x02/* Software reboot */ -#if (CONFIG_COMMANDS &CFG_CMD_KGDB ) +#if defined(CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 230400/* speed to run kgdb serial port */ #define CONFIG_KGDB_SER_INDEX 2/* which serial port to use */ #endif
net/tftp.c +1 -1
@@ -614,4 +614,4 @@ static void parse_multicast_oack(char *pkt, int len)#endif /* Multicast TFTP */ -#endif /* CFG_CMD_NET */ +#endif
Signature · 1 line
1.5.0.3
Wolfgang Denk
AppliedPATCH 1/1 86xx: Fix lingering CFG_CMD_* references in sbc8641d.h
Quoted 3 lines · In message <1187196935.28250.9.camel@ld0161-tx32> you wrote:
Remove a leftover in
net/tftp.cwhile we're at it.Signed-off-by Jon Loeliger <[email protected]>
Applied, thanks.
Quoted 2 lines
Someone, who should have known-better,
should have caught this earlier. :-)
I wonder who you might have in mind... There are at leats two of us.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If God had a beard, he'd be a UNIX programmer.
PATCH 1/1 86xx: Fix lingering CFG_CMD_* references in sbc8641d.h
Quoted 6 lines · Wolfgang Denk
Quoted 3 lines · In message <1187196935.28250.9.camel@ld0161-tx32> you wrote:
Remove a leftover in
net/tftp.cwhile we're at it.Signed-off-by Jon Loeliger <[email protected]>Applied, thanks.
Thanks.
Quoted 4 lines
Quoted 2 lines
Someone, who should have known-better,
should have caught this earlier. :-)I wonder who you might have in mind... There are at leats two of us.
Oh, that's all mine, I'm afraid. ;-)
jdl