aboutsummaryrefslogtreecommitdiff
path: root/rtc
diff options
context:
space:
mode:
Diffstat (limited to 'rtc')
-rw-r--r--rtc/m41t11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtc/m41t11.c b/rtc/m41t11.c
index 11a1b086a..c725cc904 100644
--- a/rtc/m41t11.c
+++ b/rtc/m41t11.c
@@ -23,6 +23,8 @@
* can you believe a trademark on that?
*/
+/* #define DEBUG 1 */
+
#include <common.h>
#include <command.h>
#include <rtc.h>
@@ -43,8 +45,6 @@
#if defined(CONFIG_RTC_M41T11) && defined(CFG_I2C_RTC_ADDR) && (CONFIG_COMMANDS & CFG_CMD_DATE)
-#define DEBUG 1
-
static unsigned bcd2bin (uchar n)
{
return ((((n >> 4) & 0x0F) * 10) + (n & 0x0F));