summaryrefslogtreecommitdiffstats
path: root/include/configs/km82xx.h
diff options
context:
space:
mode:
authorValentin Longchamp <valentin.longchamp@keymile.com>2013-10-18 11:47:17 +0200
committerYork Sun <yorksun@freescale.com>2013-10-24 09:35:33 -0700
commit0a4f88b98c098532bfe0a4a5f874e6e05708c4f3 (patch)
tree08e58ce9f0b5740bd7f3c05fbf2901b88c2452e1 /include/configs/km82xx.h
parent7c3d6a29cd1ed315185068fd8384d150ef5f967b (diff)
downloadblackbird-obmc-uboot-0a4f88b98c098532bfe0a4a5f874e6e05708c4f3.tar.gz
blackbird-obmc-uboot-0a4f88b98c098532bfe0a4a5f874e6e05708c4f3.zip
KM: define CONFIG_SYS_I2C_INIT_BOARD only for concerned board
This must be defined for all the keymile boards that use the common i2c_abort function that is used to "reset" the I2C bus. These are currently km82xx and km_arm boards. The km83xx boards use other functions and thus do not need this. This patch removes the CONFIG_SYS_I2C_INIT_BOARD from keymile-common.h and defines it for km_arm.h and km82xx.h. Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Diffstat (limited to 'include/configs/km82xx.h')
-rw-r--r--include/configs/km82xx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/km82xx.h b/include/configs/km82xx.h
index 986c65f1e6..029c348285 100644
--- a/include/configs/km82xx.h
+++ b/include/configs/km82xx.h
@@ -227,6 +227,7 @@
/* enable I2C and select the hardware/software driver */
#define CONFIG_SYS_I2C
#define CONFIG_SYS_I2C_SOFT /* I2C bit-banged */
+#define CONFIG_SYS_I2C_INIT_BOARD
#define CONFIG_SYS_NUM_I2C_BUSES 3
#define CONFIG_SYS_I2C_MAX_HOPS 1
#define CONFIG_SYS_I2C_SOFT_SPEED 50000
@@ -237,6 +238,7 @@
{0, {{I2C_MUX_PCA9542, 0x70, 1} } } }
#define CONFIG_KM_IVM_BUS 1 /* I2C2 (Mux-Port 1)*/
+#define CONFIG_KM_I2C_ABORT
/*
* Software (bit-bang) I2C driver configuration
OpenPOWER on IntegriCloud