From: Marek Vasut Date: Sat, 17 Feb 2018 01:17:40 +0000 (+0100) Subject: i2c: rcar_iic: Allow IIC on RCar Gen2 X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=f51155eced8386b4e63654eef94b1e4a6a42655a;p=u-boot.git i2c: rcar_iic: Allow IIC on RCar Gen2 The IIC on Gen2 is compatible with this driver as well, allow it. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index 7dbec775df..9d43690503 100644 --- a/drivers/i2c/Kconfig +++ b/drivers/i2c/Kconfig @@ -178,7 +178,7 @@ endif config SYS_I2C_RCAR_IIC bool "Renesas RCar Gen3 IIC driver" - depends on RCAR_GEN3 && DM_I2C + depends on (RCAR_GEN3 || RCAR_GEN2) && DM_I2C help Support for Renesas RCar Gen3 IIC controller.