summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-07-19 14:44:03 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-07-19 14:44:03 +0200
commitedd0b509bad5e8e9dc3b01e9805cf6da5e4343dd (patch)
tree0b142f351953983e8691753ea494493e42f825fc
parentc786f427f9cbccb64a28020e28458895e39df43a (diff)
Adjust RTC century handling on STK52xx board to match Linux driver.
Patch by Martin Krause, 12 Jun 2006
-rw-r--r--CHANGELOG3
-rw-r--r--include/configs/TQM5200.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index c27a56ad7c..4ad1dd7a1b 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,9 @@
Changes since U-Boot 1.1.4:
======================================================================
+* Adjust RTC century handling on STK52xx board to match Linux driver.
+ Patch by Martin Krause, 12 Jun 2006
+
* Adjust filenames for USB update images on TRAB board.
During an automatic update via USB stick, U-Boot searches for
images with the name "firmware.img" and "kernel.img". This names
diff --git a/include/configs/TQM5200.h b/include/configs/TQM5200.h
index 6dc7b12d80..1ed2c758d9 100644
--- a/include/configs/TQM5200.h
+++ b/include/configs/TQM5200.h
@@ -411,6 +411,8 @@
#if defined (CONFIG_STK52XX) && !defined (CONFIG_STK52XX_REV100)
# define CONFIG_RTC_M41T11 1
# define CFG_I2C_RTC_ADDR 0x68
+# define CFG_M41T11_BASE_YEAR 1900 /* because Linux uses the same base
+ year */
#else
# define CONFIG_RTC_MPC5200 1 /* use internal MPC5200 RTC */
#endif