[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 6/8] hw/block: Introduce TC58128 eeprom Kconfig entry
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 6/8] hw/block: Introduce TC58128 eeprom Kconfig entry |
Date: |
Sun, 21 Feb 2021 21:02:47 +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>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
MAINTAINERS | 1 +
hw/block/meson.build | 2 +-
hw/sh4/Kconfig | 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index cacb5d125ab..6117ad414a4 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1397,6 +1397,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
diff --git a/hw/block/meson.build b/hw/block/meson.build
index 602ca6c8541..4bf994c64ff 100644
--- a/hw/block/meson.build
+++ b/hw/block/meson.build
@@ -12,7 +12,7 @@
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'))
diff --git a/hw/sh4/Kconfig b/hw/sh4/Kconfig
index e569470a614..34c01dadde9 100644
--- a/hw/sh4/Kconfig
+++ b/hw/sh4/Kconfig
@@ -16,6 +16,7 @@ config SHIX
bool
select SH7750
select SH4
+ select TC58128
config SH7750
bool
--
2.26.2
- [PATCH v2 1/8] hw/sh4: Add missing license, (continued)
- [PATCH v2 1/8] hw/sh4: Add missing license, Philippe Mathieu-Daudé, 2021/02/21
- [PATCH v2 2/8] hw/sh4: Add missing Kconfig dependency on SH7750 for the R2D board, Philippe Mathieu-Daudé, 2021/02/21
- [PATCH v2 3/8] hw/intc: Introduce SH_INTC Kconfig entry, Philippe Mathieu-Daudé, 2021/02/21
- [PATCH v2 4/8] hw/char: Introduce SH_SCI Kconfig entry, Philippe Mathieu-Daudé, 2021/02/21
- [PATCH v2 5/8] hw/timer: Introduce SH_TIMER Kconfig entry, Philippe Mathieu-Daudé, 2021/02/21
- [PATCH v2 6/8] hw/block: Introduce TC58128 eeprom Kconfig entry,
Philippe Mathieu-Daudé <=
- [PATCH v2 7/8] hw/pci-host: Introduce SH_PCI Kconfig entry, Philippe Mathieu-Daudé, 2021/02/21
- [PATCH v2 8/8] hw/sh4: Remove now unused CONFIG_SH4 from Kconfig, Philippe Mathieu-Daudé, 2021/02/21