]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
hw/block: Introduce TC58128 eeprom Kconfig entry
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 21 Feb 2021 18:55:22 +0000 (19:55 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 6 Mar 2021 15:18:42 +0000 (16:18 +0100)
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>

MAINTAINERS
hw/block/Kconfig
hw/block/meson.build
hw/sh4/Kconfig

index 4a722c44b1bb24fb6dc6fab800bbacbdc1b32ba1..109890af5e0037e9bc644f6a96fe5d8bb1728320 100644 (file)
@@ -1407,6 +1407,7 @@ Shix
 M: Yoshinori Sato <ysato@users.sourceforge.jp>
 R: Magnus Damm <magnus.damm@gmail.com>
 S: Odd Fixes
+F: hw/block/tc58128.c
 F: hw/char/sh_serial.c
 F: hw/sh4/shix.c
 F: hw/intc/sh_intc.c
index 2d17f481adc6fdde330aea8ebd9890bb7138f309..4fcd152166840118ce1ce4ab9277ea7d97f2f8cc 100644 (file)
@@ -22,6 +22,9 @@ config ECC
 config ONENAND
     bool
 
+config TC58128
+    bool
+
 config NVME_PCI
     bool
     default y if PCI_DEVICES
index 602ca6c8541dd48a900704927247d884e30ea0b5..4bf994c64ff9b0d13d4a028571a161a7eff38dae 100644 (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_SWIM', if_true: files('swim.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'))
 
 specific_ss.add(when: 'CONFIG_VIRTIO_BLK', if_true: files('virtio-blk.c'))
index e569470a6142a29c050687fdfee1cd77ebec75f6..34c01dadde93a22ecc1c93d890886041c1aafa82 100644 (file)
@@ -16,6 +16,7 @@ config SHIX
     bool
     select SH7750
     select SH4
+    select TC58128
 
 config SH7750
     bool