summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkus Klotzbuecher <mk@creamnet.de>2007-01-09 14:57:12 +0100
committerMarkus Klotzbuecher <mk@pollux.denx.de>2007-01-09 14:57:12 +0100
commit0be62728aac459ba268d6d752ed49ec0e2bc7348 (patch)
treea0d1920e47c1ccf4b6e95afe347d90eed9d85ab0 /include
parent8139567b60d678584b05f0718a681f2047c5e14f (diff)
downloadu-boot-imx-0be62728aac459ba268d6d752ed49ec0e2bc7348.zip
u-boot-imx-0be62728aac459ba268d6d752ed49ec0e2bc7348.tar.gz
u-boot-imx-0be62728aac459ba268d6d752ed49ec0e2bc7348.tar.bz2
Add support for the DS3231 RTC
Diffstat (limited to 'include')
-rw-r--r--include/configs/spc1920.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/spc1920.h b/include/configs/spc1920.h
index a836d82..c6b4d30 100644
--- a/include/configs/spc1920.h
+++ b/include/configs/spc1920.h
@@ -83,6 +83,7 @@
#ifndef CONFIG_COMMANDS
#define CONFIG_COMMANDS (CONFIG_CMD_DFL \
| CFG_CMD_ASKENV \
+ | CFG_CMD_DATE \
| CFG_CMD_ECHO \
| CFG_CMD_IMMAP \
| CFG_CMD_JFFS2 \
@@ -194,6 +195,11 @@
#define CFG_CACHELINE_SIZE 16 /* For all MPC8xx CPUs */
#define CFG_CACHELINE_SHIFT 4 /* log base 2 of the above value */
+#ifdef CFG_CMD_DATE
+# define CONFIG_RTC_DS3231
+# define CFG_I2C_RTC_ADDR 0x68
+#endif
+
/*-----------------------------------------------------------------------
* I2C configuration
*/