diff options
author | Adam Ford <aford173@gmail.com> | 2018-01-25 00:21:21 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-01-30 22:59:32 +0300 |
commit | 11d2e98d7e75dfb40651eb95c32ca36778cd96d3 (patch) | |
tree | 73418723717401a0bc286f60daf871f59872e312 /drivers | |
parent | 76e22222d3aa6edf0150d32d6a3c501bf3424b5d (diff) | |
download | u-boot-11d2e98d7e75dfb40651eb95c32ca36778cd96d3.tar.xz |
Convert CONFIG_SYS_OMAP24_I2C_SLAVE et al to Kconfig
This converts the following to Kconfig:
CONFIG_SYS_OMAP24_I2C_SLAVE
CONFIG_SYS_OMAP24_I2C_SPEED
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/i2c/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index 0630712e4a..17d21bbc42 100644 --- a/drivers/i2c/Kconfig +++ b/drivers/i2c/Kconfig @@ -162,6 +162,20 @@ config SYS_I2C_OMAP24XX help Add support for the OMAP2+ I2C driver. +if SYS_I2C_OMAP24XX +config SYS_OMAP24_I2C_SLAVE + int "I2C Slave addr channel 0" + default 1 + help + OMAP24xx I2C Slave address channel 0 + +config SYS_OMAP24_I2C_SPEED + int "I2C Slave channel 0 speed" + default 100000 + help + OMAP24xx Slave speed channel 0 +endif + config SYS_I2C_RCAR_IIC bool "Renesas RCar Gen3 IIC driver" depends on RCAR_GEN3 && DM_I2C |