]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx28evk: add RTC support
authorMatthias Fuchs <matthias.fuchs@esd.eu>
Wed, 18 Jan 2012 01:33:07 +0000 (01:33 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 27 Feb 2012 20:19:22 +0000 (21:19 +0100)
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>
include/configs/mx28evk.h

index bea46e726714cb3206751dba8b26179284c6d0d9..8a752aa2a484008e7d85d18eb3379e79d4470f12 100644 (file)
@@ -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
 #define CONFIG_MX28_FEC_MAC_IN_OCOTP
 #endif
 
+/*
+ * RTC
+ */
+#ifdef CONFIG_CMD_DATE
+#define        CONFIG_RTC_MXS
+#endif
+
 /*
  * Boot Linux
  */