From 2af4d0f49f80a52d50191f0ec451944b1853113e Mon Sep 17 00:00:00 2001 From: Simon Guinot Date: Tue, 18 Jun 2013 15:14:48 +0200 Subject: 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 Acked-by: Prafulla Wadaskar --- include/configs/lacie_kw.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'include/configs/lacie_kw.h') diff --git a/include/configs/lacie_kw.h b/include/configs/lacie_kw.h index 09b5798d57..e2b3b21182 100644 --- a/include/configs/lacie_kw.h +++ b/include/configs/lacie_kw.h @@ -119,11 +119,15 @@ #define CONFIG_SYS_PROMPT "ns2> " #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 */ /* -- cgit v1.2.3