summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-07-10 10:00:45 +0200
committerWolfgang Denk <wd@denx.de>2008-07-10 10:17:33 +0200
commit10943c9afa25694bd9999461f4e9e50ce22fff2b (patch)
tree821ab8a8f5ab8be3b1124e8d9fc76f0a7f45c949
parentdc1da42f814cd71e6756c2cf62af1ada1d0581fb (diff)
downloadu-boot-imx-10943c9afa25694bd9999461f4e9e50ce22fff2b.zip
u-boot-imx-10943c9afa25694bd9999461f4e9e50ce22fff2b.tar.gz
u-boot-imx-10943c9afa25694bd9999461f4e9e50ce22fff2b.tar.bz2
rtc: Fix printf format warning in m41t60.c
Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r--drivers/rtc/m41t60.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/m41t60.c b/drivers/rtc/m41t60.c
index 8a32ea0..ef135ca 100644
--- a/drivers/rtc/m41t60.c
+++ b/drivers/rtc/m41t60.c
@@ -241,7 +241,7 @@ void rtc_reset(void)
if (l <= 0x3F) {
if ((data[RTC_CTRL] & 0x3F) != l) {
- printf("Setting RTC calibration to 0x%02X\n",
+ printf("Setting RTC calibration to 0x%02lX\n",
l);
data[RTC_CTRL] &= 0xC0;
data[RTC_CTRL] |= (uchar) l;