summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Guinot <simon.guinot@sequanux.org>2013-06-18 15:14:48 +0200
committerPrafulla Wadaskar <prafulla@marvell.com>2013-06-20 14:01:23 +0530
commit2af4d0f49f80a52d50191f0ec451944b1853113e (patch)
tree7fe8fdfaf244cd4830d647a76ab16989446331d8 /include
parentc2543a21df335484fa86bd652b5564d0ca90d5f6 (diff)
downloadu-boot-imx-2af4d0f49f80a52d50191f0ec451944b1853113e.zip
u-boot-imx-2af4d0f49f80a52d50191f0ec451944b1853113e.tar.gz
u-boot-imx-2af4d0f49f80a52d50191f0ec451944b1853113e.tar.bz2
net2big_v2: initialize I2C fan at startup
This patch ensures minimal cooling for the net2big_v2 by automatically starting the I2C fan (GMT G762) at low speed (2800 RPM). Signed-off-by: Simon Guinot <simon.guinot@sequanux.org> Acked-by: Prafulla Wadaskar <prafulla@marvell.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/lacie_kw.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/configs/lacie_kw.h b/include/configs/lacie_kw.h
index 09b5798..e2b3b21 100644
--- a/include/configs/lacie_kw.h
+++ b/include/configs/lacie_kw.h
@@ -120,10 +120,14 @@
#endif
/*
+ * Enable platform initialisation via misc_init_r() function
+ */
+#define CONFIG_MISC_INIT_R
+
+/*
* Ethernet Driver configuration
*/
#ifdef CONFIG_CMD_NET
-#define CONFIG_MISC_INIT_R /* Call misc_init_r() to initialize MAC address */
#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
#define CONFIG_NETCONSOLE
#endif
@@ -153,6 +157,9 @@
#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50
#define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 4 /* 16-byte page size */
#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 /* 8-bit device address */
+#if defined(CONFIG_NET2BIG_V2)
+#define CONFIG_SYS_I2C_G762_ADDR 0x3e
+#endif
#endif /* CONFIG_CMD_I2C */
/*