[U-Boot] [PATCH 3/3] arm: spear: Disable I2C designware enable status reg check

Stefan Roese sr at denx.de
Wed Apr 27 09:10:44 CEST 2016


The I2C designware controller doesn't support the enable status register.
This patch disables the check on the SPEAr platforms.

Signed-off-by: Stefan Roese <sr at denx.de>
---
 include/configs/spear-common.h | 1 +
 include/configs/x600.h         | 1 +
 2 files changed, 2 insertions(+)

diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index c4b6234..365ce6e 100644
--- a/include/configs/spear-common.h
+++ b/include/configs/spear-common.h
@@ -36,6 +36,7 @@
 /* I2C driver configuration */
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_DW
+#define CONFIG_SYS_I2C_DW_ENABLE_STATUS_UNSUPPORTED
 #if defined(CONFIG_SPEAR600)
 #define CONFIG_SYS_I2C_BASE			0xD0200000
 #elif defined(CONFIG_SPEAR300)
diff --git a/include/configs/x600.h b/include/configs/x600.h
index 160b2c5..ca28fae 100644
--- a/include/configs/x600.h
+++ b/include/configs/x600.h
@@ -88,6 +88,7 @@
 /* I2C config options */
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_I2C_DW
+#define CONFIG_SYS_I2C_DW_ENABLE_STATUS_UNSUPPORTED
 #define CONFIG_SYS_I2C_BASE			0xD0200000
 #define CONFIG_SYS_I2C_SPEED			400000
 #define CONFIG_SYS_I2C_SLAVE			0x02
-- 
2.8.1



More information about the U-Boot mailing list