summaryrefslogtreecommitdiff
path: root/rtc
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-03-17 16:43:10 +0000
committerwdenk <wdenk>2005-03-17 16:43:10 +0000
commite6325153874b567eece9c4ac294c4b82ec7b4004 (patch)
treef7e2e2816ca992c57cda20dbe89ac41b595dc6da /rtc
parent4d00eb029008d1ef56111110ea9c61eb7e38c7c9 (diff)
downloadu-boot-imx-e6325153874b567eece9c4ac294c4b82ec7b4004.zip
u-boot-imx-e6325153874b567eece9c4ac294c4b82ec7b4004.tar.gz
u-boot-imx-e6325153874b567eece9c4ac294c4b82ec7b4004.tar.bz2
* Fix RTC configuration for PPChameleon board
* Cleanup, fix typo in include/configs/TQM5200.h
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 11a1b08..c725cc9 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));