X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fbc3450%2Fcmd_bc3450.c;h=fefffc39c26f7ff92a6c496be8df7b0c3b611306;hb=4a207e8b9a1ecc3e87d5a63bb5442dbcd50bd4b6;hp=a9e490252d1cb13e9f4ec3752b6883cf02c1cbe0;hpb=54841ab50c20d6fa6c9cc3eb826989da3a22d934;p=u-boot diff --git a/board/bc3450/cmd_bc3450.c b/board/bc3450/cmd_bc3450.c index a9e490252d..fefffc39c2 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 */ @@ -52,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 @@ -129,7 +121,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 +154,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; }