]> git.proxmox.com Git - mirror_qemu.git/commitdiff
ppc: move at24c to its own CONFIG_ symbol
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 May 2018 19:17:43 +0000 (21:17 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 30 Oct 2018 08:12:09 +0000 (09:12 +0100)
AT24c EEPROM is currently gated by CONFIG_I2C, and as such it is
being included in all emulators that use I2C, even if they do not
really need it.  Separate it and, since it was added for the e500
machines, add it to qemu-system-ppc and qemu-system-ppc64.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20180522191743.12872-1-pbonzini@redhat.com>
[lv: rebase]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
default-configs/ppc-softmmu.mak
hw/nvram/Makefile.objs

index 3181bbf16317d4f32425ac9bd23deb63965315a8..23d871fb3e1ae7dcc3eddfcd3c1a7cc86da39d41 100644 (file)
@@ -28,6 +28,7 @@ CONFIG_SM501=y
 CONFIG_DDC=y
 CONFIG_IDE_SII3112=y
 CONFIG_I2C=y
+CONFIG_AT24C=y
 CONFIG_BITBANG_I2C=y
 CONFIG_M41T80=y
 CONFIG_VGA_CIRRUS=y
index a912d25391c516461d559470fdfeaafe084b1156..b318e53a43423a161a3b215a5f5e87e2a9543ee7 100644 (file)
@@ -1,6 +1,6 @@
 common-obj-$(CONFIG_DS1225Y) += ds1225y.o
 common-obj-y += eeprom93xx.o
-common-obj-$(CONFIG_I2C) += eeprom_at24c.o
+common-obj-$(CONFIG_AT24C) += eeprom_at24c.o
 common-obj-y += fw_cfg.o
 common-obj-y += chrp_nvram.o
 common-obj-$(CONFIG_MAC_NVRAM) += mac_nvram.o