From edd0b509bad5e8e9dc3b01e9805cf6da5e4343dd Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Wed, 19 Jul 2006 14:44:03 +0200 Subject: Adjust RTC century handling on STK52xx board to match Linux driver. Patch by Martin Krause, 12 Jun 2006 --- include/configs/TQM5200.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/configs/TQM5200.h') diff --git a/include/configs/TQM5200.h b/include/configs/TQM5200.h index 6dc7b12d8..1ed2c758d 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 -- cgit v1.2.3