diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2019-12-31 19:32:07 +0100 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2020-07-16 12:30:54 -0500 |
commit | ae163b8d9588f02de6a4b6dba310307ba485d4a9 (patch) | |
tree | 6412cc6276e2df57e59c3d6d2acf043474c8d582 /hw/i2c/Kconfig | |
parent | 45db94cc90c286a9965a285ba19450f448760a09 (diff) |
hw/i2c/Kconfig: Add an entry for the SMBus
The System Management Bus is more or less a derivative of the I2C
bus, thus the Kconfig entry depends of I2C.
Not all boards providing an I2C bus support SMBus.
Use two different Kconfig entries to be able to select I2C without
selecting SMBus.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191231183216.6781-6-philmd@redhat.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'hw/i2c/Kconfig')
-rw-r--r-- | hw/i2c/Kconfig | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/hw/i2c/Kconfig b/hw/i2c/Kconfig index 2bbd395813..09642a6dcb 100644 --- a/hw/i2c/Kconfig +++ b/hw/i2c/Kconfig @@ -1,9 +1,13 @@ config I2C bool +config SMBUS + bool + select I2C + config SMBUS_EEPROM bool - depends on I2C + select SMBUS config VERSATILE_I2C bool @@ -11,7 +15,7 @@ config VERSATILE_I2C config ACPI_SMBUS bool - select I2C + select SMBUS config BITBANG_I2C bool |