Skip to content

Commit 3fd0305

Browse files
philmdbonzini
authored andcommitted
hw/nvram/Kconfig: Add an entry for the NMC93xx EEPROM
The NMC93xx EEPROM is only used by few NIC cards and the Am53C974 SCSI controller. Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent b0048f7 commit 3fd0305

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

hw/net/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ config EEPRO100_PCI
1414
bool
1515
default y if PCI_DEVICES
1616
depends on PCI
17+
select NMC93XX_EEPROM
1718

1819
config PCNET_PCI
1920
bool
@@ -28,6 +29,7 @@ config TULIP
2829
bool
2930
default y if PCI_DEVICES
3031
depends on PCI
32+
select NMC93XX_EEPROM
3133

3234
config E1000_PCI
3335
bool

hw/nvram/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ config AT24C
77

88
config MAC_NVRAM
99
bool
10+
11+
# NMC93XX uses the NS uWire interface (similar to SPI but less configurable)
12+
config NMC93XX_EEPROM
13+
bool

hw/nvram/Makefile.objs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
common-obj-$(CONFIG_DS1225Y) += ds1225y.o
2-
common-obj-y += eeprom93xx.o
2+
common-obj-$(CONFIG_NMC93XX_EEPROM) += eeprom93xx.o
33
common-obj-$(CONFIG_AT24C) += eeprom_at24c.o
44
common-obj-y += fw_cfg.o
55
common-obj-y += chrp_nvram.o

hw/scsi/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ config ESP_PCI
3434
default y if PCI_DEVICES
3535
depends on PCI
3636
select ESP
37+
select NMC93XX_EEPROM
3738

3839
config SPAPR_VSCSI
3940
bool

0 commit comments

Comments
 (0)