From 4f562f145a1559fc20fd093c3bce2c3c5e109025 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Thu, 18 Aug 2005 11:51:12 +0200 Subject: [PATCH] Add RTC support for STK52XX.200 Patch by Martin Krause, 7 Apr. 2005 --- CHANGELOG | 3 +++ include/configs/TQM5200.h | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index a0e5f6f663..a656666587 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,9 @@ Changes for U-Boot 1.1.4: ====================================================================== +* Add RTC support for STK52XX.200 + Patch by Martin Krause, 7 Apr. 2005 + * Add support for IFM o2dnt board * Enable PCI on hmi1001 board diff --git a/include/configs/TQM5200.h b/include/configs/TQM5200.h index b60e3cd539..680a0a774f 100644 --- a/include/configs/TQM5200.h +++ b/include/configs/TQM5200.h @@ -416,7 +416,12 @@ /* * RTC configuration */ -#define CONFIG_RTC_MPC5200 1 /* use internal MPC5200 RTC */ +#if defined (CONFIG_STK52XX) && !defined (CONFIG_STK52XX_REV100) +# define CONFIG_RTC_M41T11 1 +# define CFG_I2C_RTC_ADDR 0x68 +#else +# define CONFIG_RTC_MPC5200 1 /* use internal MPC5200 RTC */ +#endif /* * Miscellaneous configurable options -- 2.30.2