From: Wolfgang Denk <wd@denx.de>
Date: Sun, 22 Jul 2012 07:56:06 +0000 (+0200)
Subject: BC3450 board: change debug code to using debug()
X-Git-Tag: v2025.01-rc5-pxa1908~17673^2~45
X-Git-Url: http://git.dujemihanovic.xyz/html/%7B%7B%20.Permalink%20%7D%7D?a=commitdiff_plain;h=d0090c33f10fbe53b574efa6f1513e1e95c5ccdf;p=u-boot.git

BC3450 board: change debug code to using debug()

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
---

diff --git a/board/bc3450/cmd_bc3450.c b/board/bc3450/cmd_bc3450.c
index a9e490252d..935769b825 100644
--- a/board/bc3450/cmd_bc3450.c
+++ b/board/bc3450/cmd_bc3450.c
@@ -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;
 }