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 --- arch/arm/cpu/arm926ejs/spear/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch') diff --git a/arch/arm/cpu/arm926ejs/spear/cpu.c b/arch/arm/cpu/arm926ejs/spear/cpu.c index 3757ffb..697e094 100644 --- a/arch/arm/cpu/arm926ejs/spear/cpu.c +++ b/arch/arm/cpu/arm926ejs/spear/cpu.c @@ -38,7 +38,7 @@ int arch_cpu_init(void) #if defined(CONFIG_DW_UDC) periph1_clken |= MISC_USBDENB; #endif -#if defined(CONFIG_DW_I2C) +#if defined(CONFIG_SYS_I2C_DW) periph1_clken |= MISC_I2CENB; #endif #if defined(CONFIG_ST_SMI) -- cgit v1.1