[U-Boot] [PATCH 25/31] M28: Enable the internal RTC instead of the M41T62
Marek Vasut
marek.vasut at gmail.com
Thu Sep 8 22:42:53 CEST 2011
Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
Cc: Stefano Babic <sbabic at denx.de>
Cc: Wolfgang Denk <wd at denx.de>
Cc: Detlev Zundel <dzu at denx.de>
---
include/configs/m28evk.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
index 5cf62a2..dbeb37e 100644
--- a/include/configs/m28evk.h
+++ b/include/configs/m28evk.h
@@ -166,10 +166,16 @@
* RTC
*/
#ifdef CONFIG_CMD_DATE
+/* Use the internal RTC in the MXS chip */
+#define CONFIG_RTC_INTERNAL
+#ifdef CONFIG_RTC_INTERNAL
+#define CONFIG_RTC_MXS
+#else
#define CONFIG_RTC_M41T62
#define CONFIG_SYS_I2C_RTC_ADDR 0x68
#define CONFIG_SYS_M41T11_BASE_YEAR 2000
#endif
+#endif
/*
* SPI
--
1.7.5.4
More information about the U-Boot
mailing list