Browse Source

Adjust RTC century handling on STK52xx board to match Linux driver.
Patch by Martin Krause, 12 Jun 2006

Wolfgang Denk 19 years ago
parent
commit
edd0b509ba
2 changed files with 5 additions and 0 deletions
  1. 3 0
      CHANGELOG
  2. 2 0
      include/configs/TQM5200.h

+ 3 - 0
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

+ 2 - 0
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