projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54e9668
)
mx28evk: add RTC support
author
Matthias Fuchs
<matthias.fuchs@esd.eu>
Wed, 18 Jan 2012 01:33:07 +0000
(
01:33
+0000)
committer
Albert 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
patch
|
blob
|
history
diff --git
a/include/configs/mx28evk.h
b/include/configs/mx28evk.h
index bea46e726714cb3206751dba8b26179284c6d0d9..8a752aa2a484008e7d85d18eb3379e79d4470f12 100644
(file)
--- 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
*/