summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2016-04-28 09:47:19 +0200
committerHeiko Schocher <hs@denx.de>2016-05-17 08:29:00 +0200
commit3a3705280d1d06e4d9a62fbe895dbe03939ad00e (patch)
tree10ac8f9ea9da9f17c8d1ce128aa107c8b15cf5b3 /drivers
parent4d5e9b39e21152734ffa4b533efbb83f278df18b (diff)
downloadtalos-obmc-uboot-3a3705280d1d06e4d9a62fbe895dbe03939ad00e.tar.gz
talos-obmc-uboot-3a3705280d1d06e4d9a62fbe895dbe03939ad00e.zip
i2c: Select SYS_I2C_DW_ENABLE_STATUS_UNSUPPORTED for SPEAr
The DW I2C controller in the SPEAr SoCs doesn't support the enable status register check. This patch selects SYS_I2C_DW_ENABLE_STATUS_UNSUPPORTED for these boards. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/i2c/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
index 193b9f59b8..6e22bbadff 100644
--- a/drivers/i2c/Kconfig
+++ b/drivers/i2c/Kconfig
@@ -80,6 +80,16 @@ config SYS_I2C_DW
controller is used in various SoCs, e.g. the ST SPEAr, Altera
SoCFPGA, Synopsys ARC700 and some Intel x86 SoCs.
+config SYS_I2C_DW_ENABLE_STATUS_UNSUPPORTED
+ bool "DW I2C Enable Status Register not supported"
+ depends on SYS_I2C_DW && (TARGET_SPEAR300 || TARGET_SPEAR310 || \
+ TARGET_SPEAR320 || TARGET_SPEAR600 || TARGET_X600)
+ default y
+ help
+ Some versions of the Designware I2C controller do not support the
+ enable status register. This config option can be enabled in such
+ cases.
+
config SYS_I2C_INTEL
bool "Intel I2C/SMBUS driver"
depends on DM_I2C
OpenPOWER on IntegriCloud