]> git.sur5r.net Git - u-boot/commitdiff
arm: novena: Fix EEPROM i2c configuration
authorMarek Vasut <marex@denx.de>
Tue, 24 Nov 2015 23:36:44 +0000 (00:36 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 31 Jan 2016 15:32:56 +0000 (16:32 +0100)
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@denx.de>
Cc: Sean Cross <xobs@kosagi.com>
Cc: Stefano Babic <sbabic@denx.de>
include/configs/novena.h

index 5f0a2302de573a6d58a7c18a5fdaa743a1dd5622..d5f517c76dae75b7131d3870f02cae1b17fa4efe 100644 (file)
 #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 */