summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-06-27 13:30:03 +0000
committerwdenk <wdenk>2005-06-27 13:30:03 +0000
commit342717f72a2f92a14b9c823546e5bcec244f8bf4 (patch)
treed2aee74d8f384b6d85d4ce88c35df1303ffb927c /include/configs
parent024447b186cca55c2d803ab96b4c8f8674363b86 (diff)
downloadu-boot-imx-342717f72a2f92a14b9c823546e5bcec244f8bf4.zip
u-boot-imx-342717f72a2f92a14b9c823546e5bcec244f8bf4.tar.gz
u-boot-imx-342717f72a2f92a14b9c823546e5bcec244f8bf4.tar.bz2
* Fix baudrate calculation problem on MPC5200 systems
* Add MPC8220 boards to MAKEALL script * Add EEPROM and RTC support for HMI1001 board * Patch by Detlev Zundel, 20 Jun 2005: Fix initialization of low active GPIO pins on inka4x0 board
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/hmi1001.h33
1 files changed, 27 insertions, 6 deletions
diff --git a/include/configs/hmi1001.h b/include/configs/hmi1001.h
index fc97b8d..4e44bde 100644
--- a/include/configs/hmi1001.h
+++ b/include/configs/hmi1001.h
@@ -56,7 +56,10 @@
* Supported commands
*/
#define CONFIG_COMMANDS (CONFIG_CMD_DFL | \
+ CFG_CMD_DATE | \
CFG_CMD_DHCP | \
+ CFG_CMD_EEPROM | \
+ CFG_CMD_I2C | \
CFG_CMD_NFS | \
CFG_CMD_SNTP)
@@ -102,6 +105,29 @@
#undef CFG_IPBSPEED_133 /* define for 133MHz speed */
/*
+ * I2C configuration
+ */
+#define CONFIG_HARD_I2C 1 /* I2C with hardware support */
+#define CFG_I2C_MODULE 2 /* Select I2C module #1 or #2 */
+
+#define CFG_I2C_SPEED 100000 /* 100 kHz */
+#define CFG_I2C_SLAVE 0x7F
+
+/*
+ * EEPROM configuration
+ */
+#define CFG_I2C_EEPROM_ADDR 0x58
+#define CFG_I2C_EEPROM_ADDR_LEN 1
+#define CFG_EEPROM_PAGE_WRITE_BITS 4
+#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10
+
+/*
+ * RTC configuration
+ */
+#define CONFIG_RTC_PCF8563
+#define CFG_I2C_RTC_ADDR 0x51
+
+/*
* Flash configuration
*/
#define CFG_FLASH_BASE 0xFF800000
@@ -165,7 +191,7 @@
#endif
#define CFG_MONITOR_LEN (192 << 10) /* Reserve 192 kB for Monitor */
-#define CFG_MALLOC_LEN (128 << 10) /* Reserve 128 kB for malloc() */
+#define CFG_MALLOC_LEN (512 << 10) /* Reserve 128 kB for malloc() */
#define CFG_BOOTMAPSZ (8 << 20) /* Initial Memory map for Linux */
/*
@@ -180,11 +206,6 @@
#define CFG_GPS_PORT_CONFIG 0x01051004
/*
- * RTC configuration
- */
-#define CONFIG_RTC_MPC5200 1 /* use internal MPC5200 RTC */
-
-/*
* Miscellaneous configurable options
*/
#define CFG_LONGHELP /* undef to save memory */