[U-Boot] [PATCH] arm: novena: Fix EEPROM i2c configuration

Marek Vasut marex at denx.de
Wed Nov 25 00:36:44 CET 2015


On Novena, the DRAM SPD is connected to i2c1 while the Utility EEPROM
is connected to i2c3. Now that the EEPROM handling in U-Boot is fixed,
also fix this bit on Novena.

Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Sean Cross <xobs at kosagi.com>
Cc: Stefano Babic <sbabic at denx.de>
---
 include/configs/novena.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/configs/novena.h b/include/configs/novena.h
index d88389a..718989f 100644
--- a/include/configs/novena.h
+++ b/include/configs/novena.h
@@ -108,11 +108,12 @@
 #define CONFIG_I2C_MULTI_BUS
 #define CONFIG_I2C_MXC
 #define CONFIG_SYS_I2C_SPEED		100000
+#define CONFIG_SYS_SPD_BUS_NUM		0
 
 /* I2C EEPROM */
 #ifdef CONFIG_CMD_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN	2
-#define CONFIG_SYS_SPD_BUS_NUM		2
+#define CONFIG_SYS_I2C_EEPROM_BUS	2
 #endif
 
 /* MMC Configs */
-- 
2.1.4



More information about the U-Boot mailing list