BC3450 board: change debug code to using debug()
PATCH 1/2 BC3450 board: change debug code to using debug()
Signed-off-by Wolfgang Denk <[email protected]>
Cc Detlev Zundel <[email protected]>
--- board/bc3450/cmd_bc3450.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-)
board/bc3450/cmd_bc3450.c +3 -9
@@ -32,13 +32,6 @@*/ #if defined(CONFIG_CMD_BSP ) -#undef DEBUG -#ifdef DEBUG -# define dprintf(fmt,args...) printf(fmt, ##args) -#else -# define dprintf(fmt,args...) -#endif -/* * Definitions for DS1620 chip */
@@ -129,7 +122,7 @@ int sm501_gpio_init (void)static int init_done =0 ;if (init_done) { -/* dprintf("sm501_gpio_init: nothing to be done.\n"); */ +debug ("sm501_gpio_init: nothing to be done.\n" );return 1 ; }
@@ -162,7 +155,8 @@ int sm501_gpio_init (void) (PWR_OFF |BUZZER |FP_DATA_TRI ); init_done =1 ; -/* dprintf("sm501_gpio_init: done.\n"); */ +debug ("sm501_gpio_init: done.\n" ); +return 0 ; }
Signature · 1 line
1.7.10.4
Wolfgang Denk
AppliedPATCH 1/2 BC3450 board: change debug code to using debug()
Dear Wolfgang Denk,
Quoted 5 lines · In message <[email protected]> you wrote:
Signed-off-by Wolfgang Denk <[email protected]>Cc Detlev Zundel <[email protected]>--- board/bc3450/cmd_bc3450.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 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 there are self-made purgatories, then we all have to live in them. -- Spock, "This Side of Paradise", stardate 3417.7
PATCH 2/2 BC3450 board: Remove unused CONFIG_SYS_CPU definition
In reply to Wolfgang DenkThis fixes:
cmd_bc3450.c:55:0: warning: "CONFIG_SYS_CPU" redefined [enabled by default]
Signed-off-by Wolfgang Denk <[email protected]>
Cc Detlev Zundel <[email protected]>
--- board/bc3450/cmd_bc3450.c | 1 - 1 file changed, 1 deletion(-)
board/bc3450/cmd_bc3450.c +0 -1
@@ -45,7 +45,6 @@#define THERM_WRITE_TL 0x02#define THERM_WRITE_TH 0x01 -#define CONFIG_SYS_CPU 2#define CONFIG_SYS_1SHOT 1#define CONFIG_SYS_STANDALONE 0
Signature · 1 line
1.7.10.4
Wolfgang Denk
AppliedPATCH 2/2 BC3450 board: Remove unused CONFIG_SYS_CPU definition
Dear Wolfgang Denk,
Quoted 8 lines · In message <[email protected]> you wrote:
This fixes:
cmd_bc3450.c:55:0: warning: "CONFIG_SYS_CPU" redefined [enabled by default]Signed-off-by Wolfgang Denk <[email protected]>Cc Detlev Zundel <[email protected]>--- board/bc3450/cmd_bc3450.c | 1 - 1 file changed, 1 deletion(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 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 "Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats." - Howard Aiken