From: Stefan Roese Date: Wed, 27 Apr 2016 09:10:44 +0200 Subject: [U-Boot] [PATCH 3/3] arm: spear: Disable I2C designware enable status reg check In-Reply-To: <1461741044-30445-1-git-send-email-sr@denx.de> References: <1461741044-30445-1-git-send-email-sr@denx.de> Message-ID: <1461741044-30445-3-git-send-email-sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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