summaryrefslogtreecommitdiff
path: root/include/configs/edminiv2.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-06-13 22:55:48 +0200
committerIan Campbell <ijc@hellion.org.uk>2014-07-16 19:56:24 +0100
commit0db2bbdc04c7ba41861e686acb815fce5a227a01 (patch)
tree12bcbf145e376cc9a5e97d9de88b8640e2c9ff4a /include/configs/edminiv2.h
parent799aff38dfc1b2d860ec8430572f9402d3ce9881 (diff)
downloadu-boot-0db2bbdc04c7ba41861e686acb815fce5a227a01.tar.gz
mvtwsi: convert to CONFIG_SYS_I2C framework
Note this has only been tested on Allwinner sunxi devices (support for which gets introduced by a later patch). The kirkwood changes have been compile tested using the wireless_space board config, the orion5x changes have been compile tested using the edminiv2 board config. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/configs/edminiv2.h')
-rw-r--r--include/configs/edminiv2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h
index 8b9f66a29c..77717a84ae 100644
--- a/include/configs/edminiv2.h
+++ b/include/configs/edminiv2.h
@@ -187,7 +187,8 @@
* I2C related stuff
*/
#ifdef CONFIG_CMD_I2C
-#define CONFIG_I2C_MVTWSI
+#define CONFIG_SYS_I2C
+#define CONFIG_SYS_I2C_MVTWSI
#define CONFIG_I2C_MVTWSI_BASE ORION5X_TWSI_BASE
#define CONFIG_SYS_I2C_SLAVE 0x0
#define CONFIG_SYS_I2C_SPEED 100000