hw/block: Introduce TC58128 eeprom Kconfig entry

Add more fine-grained selection by adding a CONFIG_TC58128
selector for the TC58128 eeprom.

As this device is only used by the Shix machine, add an entry
to the proper section in MAINTAINERS.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210222141514.2646278-7-f4bug@amsat.org>
This commit is contained in:
Philippe Mathieu-Daudé 2021-02-21 19:55:22 +01:00
parent 25e79527a8
commit 475e70bde6
4 changed files with 6 additions and 1 deletions

View File

@ -1407,6 +1407,7 @@ Shix
M: Yoshinori Sato <ysato@users.sourceforge.jp> M: Yoshinori Sato <ysato@users.sourceforge.jp>
R: Magnus Damm <magnus.damm@gmail.com> R: Magnus Damm <magnus.damm@gmail.com>
S: Odd Fixes S: Odd Fixes
F: hw/block/tc58128.c
F: hw/char/sh_serial.c F: hw/char/sh_serial.c
F: hw/sh4/shix.c F: hw/sh4/shix.c
F: hw/intc/sh_intc.c F: hw/intc/sh_intc.c

View File

@ -22,6 +22,9 @@ config ECC
config ONENAND config ONENAND
bool bool
config TC58128
bool
config NVME_PCI config NVME_PCI
bool bool
default y if PCI_DEVICES default y if PCI_DEVICES

View File

@ -12,7 +12,7 @@ softmmu_ss.add(when: 'CONFIG_PFLASH_CFI02', if_true: files('pflash_cfi02.c'))
softmmu_ss.add(when: 'CONFIG_SSI_M25P80', if_true: files('m25p80.c')) softmmu_ss.add(when: 'CONFIG_SSI_M25P80', if_true: files('m25p80.c'))
softmmu_ss.add(when: 'CONFIG_SWIM', if_true: files('swim.c')) softmmu_ss.add(when: 'CONFIG_SWIM', if_true: files('swim.c'))
softmmu_ss.add(when: 'CONFIG_XEN', if_true: files('xen-block.c')) softmmu_ss.add(when: 'CONFIG_XEN', if_true: files('xen-block.c'))
softmmu_ss.add(when: 'CONFIG_SH4', if_true: files('tc58128.c')) softmmu_ss.add(when: 'CONFIG_TC58128', if_true: files('tc58128.c'))
softmmu_ss.add(when: 'CONFIG_NVME_PCI', if_true: files('nvme.c', 'nvme-ns.c')) softmmu_ss.add(when: 'CONFIG_NVME_PCI', if_true: files('nvme.c', 'nvme-ns.c'))
specific_ss.add(when: 'CONFIG_VIRTIO_BLK', if_true: files('virtio-blk.c')) specific_ss.add(when: 'CONFIG_VIRTIO_BLK', if_true: files('virtio-blk.c'))

View File

@ -16,6 +16,7 @@ config SHIX
bool bool
select SH7750 select SH7750
select SH4 select SH4
select TC58128
config SH7750 config SH7750
bool bool