]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
i2c: rcar_iic: Allow IIC on RCar Gen2
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 17 Feb 2018 01:17:40 +0000 (02:17 +0100)
committerMarek Vasut <marex@denx.de>
Sat, 17 Feb 2018 20:59:22 +0000 (21:59 +0100)
The IIC on Gen2 is compatible with this driver as well, allow it.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/i2c/Kconfig

index 7dbec775dfbd46812365bf552195bbb1e4a679cb..9d43690503d1e100d29bc54aafef8782a6aba288 100644 (file)
@@ -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.