From: Matthias Fuchs Date: Wed, 18 Jan 2012 01:33:07 +0000 (+0000) Subject: mx28evk: add RTC support X-Git-Tag: v2012.04-rc1~149 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9588d942198eeaa65a292d47a25bd1177ef2046b;p=u-boot 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 Tested-by: Fabio Estevam --- diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h index bea46e7267..8a752aa2a4 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 @@ -149,6 +150,13 @@ #define CONFIG_MX28_FEC_MAC_IN_OCOTP #endif +/* + * RTC + */ +#ifdef CONFIG_CMD_DATE +#define CONFIG_RTC_MXS +#endif + /* * Boot Linux */