summaryrefslogtreecommitdiff
path: root/include/configs
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/configs
parentdeac6d664b3149ff0b44676c345303dad62b74b5 (diff)
downloadu-boot-imx-459f1da88b42e9a795e51c73fcd55fd339fc594b.zip
u-boot-imx-459f1da88b42e9a795e51c73fcd55fd339fc594b.tar.gz
u-boot-imx-459f1da88b42e9a795e51c73fcd55fd339fc594b.tar.bz2
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/configs')
-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 ec900e5..a3d8f12 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