From 678398b19ee23ee5227074bc0d0e7c3925af815c Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Tue, 28 Oct 2014 12:12:00 +0100 Subject: i2c: designware: Convert driver to multibus/multiadapter framework In preparation for the SoCFPGA support of the designware I2C driver, convert this driver to the common CONFIG_SYS_I2C framework. This patch converts all users of this driver, this is: - ST spearxxx boards - AXS101 (ARC700 platform) I couldn't test this patch on those boards. Only compile tested for all spear boards. And tested on SoCFPGA. Signed-off-by: Stefan Roese Reviewed-by: Marek Vasut Acked-by: Alexey Brodkin Tested-by: Alexey Brodkin Cc: Heiko Schocher Cc: Vipin Kumar Cc: Jeroen Hofstee --- include/configs/spear-common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/configs/spear-common.h') diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h index c0eba37..a11f4ed 100644 --- a/include/configs/spear-common.h +++ b/include/configs/spear-common.h @@ -37,8 +37,8 @@ #define CONFIG_EXTRA_ENV_USBTTY "usbtty=cdc_acm\0" /* I2C driver configuration */ -#define CONFIG_HARD_I2C -#define CONFIG_DW_I2C +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_DW #if defined(CONFIG_SPEAR600) #define CONFIG_SYS_I2C_BASE 0xD0200000 #elif defined(CONFIG_SPEAR300) -- cgit v1.1