aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/Kconfig
diff options
context:
space:
mode:
authorKlaus Jensen <k.jensen@samsung.com>2023-08-23 10:14:42 +0200
committerThomas Huth <thuth@redhat.com>2023-10-12 14:11:44 +0200
commita8500f804313ec7be233b329195cc8476e4190eb (patch)
tree7e847aaf9f711136948e66912f60bcebd404ad53 /hw/misc/Kconfig
parentf912f1bdb6b4237515e01a4ba646b2a7daefebed (diff)
hw/misc/Kconfig: add switch for i2c-echo
Associate i2c-echo with TEST_DEVICES and add a dependency on I2C. Signed-off-by: Klaus Jensen <k.jensen@samsung.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-ID: <20230823-i2c-echo-fixes-v1-2-ccc05a6028f0@samsung.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/misc/Kconfig')
-rw-r--r--hw/misc/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/misc/Kconfig b/hw/misc/Kconfig
index 858277bb60..dba41afe67 100644
--- a/hw/misc/Kconfig
+++ b/hw/misc/Kconfig
@@ -34,6 +34,11 @@ config PCA9552
bool
depends on I2C
+config I2C_ECHO
+ bool
+ default y if TEST_DEVICES
+ depends on I2C
+
config PL310
bool