Skip to content

Commit

Permalink
hw/nvram/Kconfig: Add an entry for the NMC93xx EEPROM
Browse files Browse the repository at this point in the history
The NMC93xx EEPROM is only used by few NIC cards and the
Am53C974 SCSI controller.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191231183216.6781-13-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
philmd authored and bonzini committed Jan 7, 2020
1 parent b0048f7 commit 3fd0305
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions hw/net/Kconfig
Expand Up @@ -14,6 +14,7 @@ config EEPRO100_PCI
bool
default y if PCI_DEVICES
depends on PCI
select NMC93XX_EEPROM

config PCNET_PCI
bool
Expand All @@ -28,6 +29,7 @@ config TULIP
bool
default y if PCI_DEVICES
depends on PCI
select NMC93XX_EEPROM

config E1000_PCI
bool
Expand Down
4 changes: 4 additions & 0 deletions hw/nvram/Kconfig
Expand Up @@ -7,3 +7,7 @@ config AT24C

config MAC_NVRAM
bool

# NMC93XX uses the NS uWire interface (similar to SPI but less configurable)
config NMC93XX_EEPROM
bool
2 changes: 1 addition & 1 deletion hw/nvram/Makefile.objs
@@ -1,5 +1,5 @@
common-obj-$(CONFIG_DS1225Y) += ds1225y.o
common-obj-y += eeprom93xx.o
common-obj-$(CONFIG_NMC93XX_EEPROM) += eeprom93xx.o
common-obj-$(CONFIG_AT24C) += eeprom_at24c.o
common-obj-y += fw_cfg.o
common-obj-y += chrp_nvram.o
Expand Down
1 change: 1 addition & 0 deletions hw/scsi/Kconfig
Expand Up @@ -34,6 +34,7 @@ config ESP_PCI
default y if PCI_DEVICES
depends on PCI
select ESP
select NMC93XX_EEPROM

config SPAPR_VSCSI
bool
Expand Down

0 comments on commit 3fd0305

Please sign in to comment.