summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-10-24 06:44:16 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-11-03 22:56:19 +0100
commit9b6ede9229a7906cdc71877d994a92c03bf4c767 (patch)
tree6d56d3d0316f5d37e0b1d9987a87858f41f619de /include
parent4e8b7544b796c4a8d4513b4070716ce42bfba840 (diff)
downloadu-boot-imx-9b6ede9229a7906cdc71877d994a92c03bf4c767.zip
u-boot-imx-9b6ede9229a7906cdc71877d994a92c03bf4c767.tar.gz
u-boot-imx-9b6ede9229a7906cdc71877d994a92c03bf4c767.tar.bz2
mx51evk: Add RTC support
MX51EVK has a MC13892 PMIC. Add RTC support. Tested via 'date' command that reads the PMIC RTC registers: MX51EVK U-Boot > date Date: 1970-01-01 (Thursday) Time: 0:40:35 Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx51evk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h
index 2983a95..85cc87e 100644
--- a/include/configs/mx51evk.h
+++ b/include/configs/mx51evk.h
@@ -79,6 +79,7 @@
#define CONFIG_FSL_PMIC_CLK 2500000
#define CONFIG_FSL_PMIC_MODE (SPI_MODE_0 | SPI_CS_HIGH)
#define CONFIG_FSL_PMIC_BITLEN 32
+#define CONFIG_RTC_MC13XXX
/*
* MMC Configs
@@ -124,6 +125,8 @@
#undef CONFIG_CMD_IMLS
+#define CONFIG_CMD_DATE
+
#define CONFIG_BOOTDELAY 3
#define CONFIG_ETHPRIME "FEC0"