From 50876ead08531686275e6fe1999a2d80c7450d67 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Mon, 22 Jan 2018 16:27:33 +0100 Subject: i2c: Add a CONFIG_I2C master switch to the configuration files The i2c core and the at24c EEPROM should only be compiled and linked on the machines that support i2c. Otherwise it's quite strange to see the at24c-eeprom to be "available" on qemu-system-s390x for example. Signed-off-by: Thomas Huth Message-Id: <1516634853-15883-1-git-send-email-thuth@redhat.com> Signed-off-by: Paolo Bonzini --- default-configs/mips-softmmu-common.mak | 1 + 1 file changed, 1 insertion(+) (limited to 'default-configs/mips-softmmu-common.mak') diff --git a/default-configs/mips-softmmu-common.mak b/default-configs/mips-softmmu-common.mak index 7d8f5db..e31f046 100644 --- a/default-configs/mips-softmmu-common.mak +++ b/default-configs/mips-softmmu-common.mak @@ -34,3 +34,4 @@ CONFIG_ISA_TESTDEV=y CONFIG_EMPTY_SLOT=y CONFIG_MIPS_CPS=y CONFIG_MIPS_ITU=y +CONFIG_I2C=y -- cgit v1.1