summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-11-25 00:36:44 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2016-01-31 16:32:56 +0100
commit735b1a2e5a61401868bb35702b6e5e18bce6eb97 (patch)
tree0927ca66ba8299999e4e75702ec07a4fe41f5d39 /include
parent397d7d5a1be16208d82ad3997bd3068a6f529b6f (diff)
downloadtalos-obmc-uboot-735b1a2e5a61401868bb35702b6e5e18bce6eb97.tar.gz
talos-obmc-uboot-735b1a2e5a61401868bb35702b6e5e18bce6eb97.zip
arm: novena: Fix EEPROM i2c configuration
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/novena.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/novena.h b/include/configs/novena.h
index 5f0a2302de..d5f517c76d 100644
--- a/include/configs/novena.h
+++ b/include/configs/novena.h
@@ -110,11 +110,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 */
OpenPOWER on IntegriCloud