22 Jul 2012 10:03
[PATCH 1/2] BC3450 board: change debug code to using debug()
Wolfgang Denk <wd <at> denx.de>
2012-07-22 08:03:14 GMT
2012-07-22 08:03:14 GMT
Signed-off-by: Wolfgang Denk <wd <at> denx.de>
Cc: Detlev Zundel <dzu <at> denx.de>
---
board/bc3450/cmd_bc3450.c | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/board/bc3450/cmd_bc3450.c b/board/bc3450/cmd_bc3450.c
index a9e4902..935769b 100644
--- a/board/bc3450/cmd_bc3450.c
+++ b/board/bc3450/cmd_bc3450.c
<at> <at> -32,13 +32,6 <at> <at>
*/
#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
*/
<at> <at> -129,7 +122,7 <at> <at> 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");
(Continue reading)
RSS Feed