Browse Source

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>
Matthias Fuchs 13 years ago
parent
commit
9588d94219
1 changed files with 8 additions and 0 deletions
  1. 8 0
      include/configs/mx28evk.h

+ 8 - 0
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
@@ -149,6 +150,13 @@
 #define CONFIG_MX28_FEC_MAC_IN_OCOTP
 #endif
 
+/*
+ * RTC
+ */
+#ifdef	CONFIG_CMD_DATE
+#define	CONFIG_RTC_MXS
+#endif
+
 /*
  * Boot Linux
  */