]> git.sur5r.net Git - u-boot/blobdiff - board/bc3450/cmd_bc3450.c
blackfin: add bf6xx spi driver
[u-boot] / board / bc3450 / cmd_bc3450.c
index a9e490252d1cb13e9f4ec3752b6883cf02c1cbe0..fefffc39c26f7ff92a6c496be8df7b0c3b611306 100644 (file)
  */
 #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;
 }