summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas.biessmann@corscience.de>2013-09-06 15:04:52 +0200
committerTom Rini <trini@ti.com>2013-11-01 15:55:58 -0400
commit459f1da88b42e9a795e51c73fcd55fd339fc594b (patch)
tree74d413388528877e38d55be691b5557a66053991 /include
parentdeac6d664b3149ff0b44676c345303dad62b74b5 (diff)
downloadblackbird-obmc-uboot-459f1da88b42e9a795e51c73fcd55fd339fc594b.tar.gz
blackbird-obmc-uboot-459f1da88b42e9a795e51c73fcd55fd339fc594b.zip
tricorder: add tricordereeprom command
The new tricordereeprom command can read and write the eeprom for hardware detection on tricorder devices. Signed-off-by: Andreas Bießmann <andreas.biessmann@corscience.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/tricorder.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h
index ec900e59d3..a3d8f12f97 100644
--- a/include/configs/tricorder.h
+++ b/include/configs/tricorder.h
@@ -82,6 +82,13 @@
#define CONFIG_SYS_I2C_SPEED 100000
#define CONFIG_SYS_I2C_SLAVE 1
#define CONFIG_DRIVER_OMAP34XX_I2C 1
+#define CONFIG_I2C_MULTI_BUS
+
+/* EEPROM */
+#define CONFIG_SYS_I2C_MULTI_EEPROMS
+#define CONFIG_CMD_EEPROM
+#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2
+#define CONFIG_SYS_EEPROM_BUS_NUM 1
/* TWL4030 */
#define CONFIG_TWL4030_POWER
OpenPOWER on IntegriCloud