summaryrefslogtreecommitdiff
path: root/include/configs/TQM5200.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-08-18 11:51:12 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-08-18 11:51:12 +0200
commit4f562f145a1559fc20fd093c3bce2c3c5e109025 (patch)
tree2b8f8cd6bc6de6f6470bd1cc82f135bf3518580e /include/configs/TQM5200.h
parente7e671b823c6ec30f3a8c576aa840629d7d17527 (diff)
downloadu-boot-imx-4f562f145a1559fc20fd093c3bce2c3c5e109025.zip
u-boot-imx-4f562f145a1559fc20fd093c3bce2c3c5e109025.tar.gz
u-boot-imx-4f562f145a1559fc20fd093c3bce2c3c5e109025.tar.bz2
Add RTC support for STK52XX.200
Patch by Martin Krause, 7 Apr. 2005
Diffstat (limited to 'include/configs/TQM5200.h')
-rw-r--r--include/configs/TQM5200.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/configs/TQM5200.h b/include/configs/TQM5200.h
index b60e3cd..680a0a7 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