Signed-off-by: Marek Vasut <marek.va...@gmail.com>
Cc: Heiko Schocher <h...@denx.de>
Cc: Stefano Babic <sba...@denx.de>
Cc: Wolfgang Denk <w...@denx.de>
Cc: Detlev Zundel <d...@denx.de>
---
 include/configs/m28evk.h |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
index 9e0d705..7e664fc 100644
--- a/include/configs/m28evk.h
+++ b/include/configs/m28evk.h
@@ -44,9 +44,12 @@
 #define        CONFIG_DOS_PARTITION
 
 #define        CONFIG_CMD_CACHE
+#define        CONFIG_CMD_DATE
 #define        CONFIG_CMD_DHCP
+#define        CONFIG_CMD_EEPROM
 #define        CONFIG_CMD_EXT2
 #define        CONFIG_CMD_FAT
+#define        CONFIG_CMD_I2C
 #define        CONFIG_CMD_MII
 #define        CONFIG_CMD_MMC
 #define        CONFIG_CMD_NET
@@ -120,6 +123,32 @@
 #endif
 
 /*
+ * I2C
+ */
+#ifdef CONFIG_CMD_I2C
+#define        CONFIG_I2C_MXS
+#define        CONFIG_HARD_I2C
+#define        CONFIG_SYS_I2C_SPEED            400000
+#endif
+
+/*
+ * EEPROM
+ */
+#ifdef CONFIG_CMD_EEPROM
+#define        CONFIG_SYS_I2C_MULTI_EEPROMS
+#define        CONFIG_SYS_I2C_EEPROM_ADDR_LEN  2
+#endif
+
+/*
+ * RTC
+ */
+#ifdef CONFIG_CMD_DATE
+#define        CONFIG_RTC_M41T62
+#define        CONFIG_SYS_I2C_RTC_ADDR         0x68
+#define        CONFIG_SYS_M41T11_BASE_YEAR     2000
+#endif
+
+/*
  * Boot Linux
  */
 #define        CONFIG_CMDLINE_TAG
-- 
1.7.5.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to