summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Fuchs <matthias.fuchs@esd.eu>2012-01-18 01:33:07 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-02-27 21:19:22 +0100
commit9588d942198eeaa65a292d47a25bd1177ef2046b (patch)
tree63f95d9f0996a6468d2c6380eedf57ef2dccac9e
parent54e96680cb96fb7a4b8f43fd949c62054004d3e5 (diff)
downloadu-boot-imx-9588d942198eeaa65a292d47a25bd1177ef2046b.zip
u-boot-imx-9588d942198eeaa65a292d47a25bd1177ef2046b.tar.gz
u-boot-imx-9588d942198eeaa65a292d47a25bd1177ef2046b.tar.bz2
mx28evk: add RTC support
This patch adds support for the MX28 internal RTC and enables u-boot's date command. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu> Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
-rw-r--r--include/configs/mx28evk.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
index bea46e7..8a752aa 100644
--- a/include/configs/mx28evk.h
+++ b/include/configs/mx28evk.h
@@ -56,6 +56,7 @@
#define CONFIG_CMD_FAT
#define CONFIG_CMD_CACHE
+#define CONFIG_CMD_DATE
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_GPIO
#define CONFIG_CMD_MII
@@ -150,6 +151,13 @@
#endif
/*
+ * RTC
+ */
+#ifdef CONFIG_CMD_DATE
+#define CONFIG_RTC_MXS
+#endif
+
+/*
* Boot Linux
*/
#define CONFIG_CMDLINE_TAG