src/mb/Kconfig: Fix PCI subsystem IDs

References to MAINBOARD_PCI_SUBSYSTEM_{DEVICE_ID,VENDOR_ID} were removed
in commits

 dbd3132 sb/intel/{i82801g/i/j,bd82x6x}: Make use of generic set_subsystem()
 00bb441 sb/intel/lynxpoint: Remove PCI bridge function

Change-Id: I72bba8406eea4a264e36cc9bcf467cf5cfbed379
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32107
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Elyes HAOUAS 2019-04-16 18:26:26 +02:00 committed by Nico Huber
parent e8d8d9492d
commit 75380d3a16
38 changed files with 0 additions and 304 deletions

View File

@ -33,12 +33,4 @@ config C_ENV_BOOTBLOCK_SIZE
hex hex
default 0x4000 default 0x4000
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x0
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x0
endif # BOARD_AOPEN_DXPLPLUSU endif # BOARD_AOPEN_DXPLPLUSU

View File

@ -31,14 +31,6 @@ config VGA_BIOS_ID
string string
default "8086,0116" default "8086,0116"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x7270
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x8086
config DRAM_RESET_GATE_GPIO config DRAM_RESET_GATE_GPIO
int int
default 60 default 60

View File

@ -37,14 +37,6 @@ config MAINBOARD_PART_NUMBER
string string
default "B75 Pro3-M" default "B75 Pro3-M"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x1e49
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x1849
config MAX_CPUS config MAX_CPUS
int int
default 8 default 8

View File

@ -56,14 +56,6 @@ config MAINBOARD_PART_NUMBER
string string
default "H81M-HDS" default "H81M-HDS"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x8c5c
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x1849
config MAX_CPUS config MAX_CPUS
int int
default 8 default 8

View File

@ -25,14 +25,6 @@ config MAINBOARD_PART_NUMBER
string string
default "H61M-CS" default "H61M-CS"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x844d
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x1043
config MAX_CPUS config MAX_CPUS
int int
default 8 default 8

View File

@ -46,14 +46,6 @@ config VGA_BIOS_ID
string string
default "8086,0112" default "8086,0112"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x844d
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x1043
config MAX_CPUS config MAX_CPUS
int int
default 8 default 8

View File

@ -43,14 +43,6 @@ config MAINBOARD_PART_NUMBER
string string
default "P8H61-M LX" default "P8H61-M LX"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x844d
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x1043
config MAX_CPUS config MAX_CPUS
int int
default 8 default 8

View File

@ -48,14 +48,6 @@ config VGA_BIOS_ID
string string
default "8086,0152" default "8086,0152"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x844d
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x1043
config MAX_CPUS config MAX_CPUS
int int
default 8 default 8

View File

@ -28,14 +28,6 @@ config VGA_BIOS_ID
string string
default "8086,0166" default "8086,0166"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x7270
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x8086
config DRAM_RESET_GATE_GPIO # FIXME: check this config DRAM_RESET_GATE_GPIO # FIXME: check this
int int
default 60 default 60

View File

@ -40,14 +40,6 @@ config MAINBOARD_PART_NUMBER
string string
default "GA-H61M-S2PV" default "GA-H61M-S2PV"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x5001
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x1458
config MAX_CPUS config MAX_CPUS
int int
default 8 default 8

View File

@ -40,14 +40,6 @@ config VGA_BIOS_FILE
string string
default "pci8086,0106.rom" default "pci8086,0106.rom"
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x1ae0
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0xc000
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string string
default "Hewlett-Packard" default "Hewlett-Packard"

View File

@ -41,12 +41,4 @@ config VGA_BIOS_FILE
string string
default "pci8086,0106.rom" default "pci8086,0106.rom"
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x1ae0
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0xc000
endif # BOARD_GOOGLE_PARROT endif # BOARD_GOOGLE_PARROT

View File

@ -43,12 +43,4 @@ config VGA_BIOS_ID
string string
default "8086,0156" default "8086,0156"
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x1ae0
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0xc000
endif # BOARD_GOOGLE_STOUT endif # BOARD_GOOGLE_STOUT

View File

@ -49,14 +49,6 @@ config VGA_BIOS_ID
string string
default "8086,0166" default "8086,0166"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x17df
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x103c
config MAX_CPUS config MAX_CPUS
int int
default 8 default 8

View File

@ -49,14 +49,6 @@ config VGA_BIOS_ID
string string
default "8086,0116" default "8086,0116"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x162a
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x103c
config MAX_CPUS config MAX_CPUS
int int
default 8 default 8

View File

@ -52,14 +52,6 @@ config VGA_BIOS_ID
string string
default "8086,0116" default "8086,0116"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x161c
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x103c
config MAX_CPUS config MAX_CPUS
int int
default 8 default 8

View File

@ -50,14 +50,6 @@ config VGA_BIOS_ID
string string
default "8086,0166" default "8086,0166"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x179b
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x103c
config MAX_CPUS config MAX_CPUS
int int
default 8 default 8

View File

@ -41,14 +41,6 @@ config MAINBOARD_PART_NUMBER
string string
default "EliteBook 8770w" default "EliteBook 8770w"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x176c
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x103c
config MAX_CPUS config MAX_CPUS
int int
default 8 default 8

View File

@ -35,14 +35,6 @@ config VGA_BIOS_ID
string string
default "8086,0102" default "8086,0102"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x1495
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x103c
config DRAM_RESET_GATE_GPIO config DRAM_RESET_GATE_GPIO
int int
default 60 default 60

View File

@ -35,14 +35,6 @@ config VGA_BIOS_ID
string string
default "8086,0166" default "8086,0166"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x18df
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x103c
config MAX_CPUS config MAX_CPUS
int int
default 8 default 8

View File

@ -37,14 +37,6 @@ config VGA_BIOS_ID
string string
default "8086,0166" default "8086,0166"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x18f8
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x103c
config DRAM_RESET_GATE_GPIO # FIXME: check this config DRAM_RESET_GATE_GPIO # FIXME: check this
int int
default 60 default 60

View File

@ -41,14 +41,6 @@ config VGA_BIOS_ID
string string
default "8086,0106" default "8086,0106"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x2044
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x8086
config MAX_CPUS config MAX_CPUS
int int
default 2 default 2

View File

@ -31,14 +31,6 @@ config VGA_BIOS_FILE
string string
default "pci8086,0166.rom" default "pci8086,0166.rom"
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x0000 # TODO
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x0000 # TODO
config MAINBOARD_VENDOR config MAINBOARD_VENDOR
string string
default "Kontron" default "Kontron"

View File

@ -34,14 +34,6 @@ config VGA_BIOS_ID
string string
default "8086,0126" default "8086,0126"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x21dd
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x17aa
config DRAM_RESET_GATE_GPIO config DRAM_RESET_GATE_GPIO
int int
default 10 default 10

View File

@ -52,12 +52,4 @@ config VGA_BIOS_ID
string string
default "8086,0166" default "8086,0166"
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x17aa
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x2205
endif # BOARD_LENOVO_S230U endif # BOARD_LENOVO_S230U

View File

@ -56,14 +56,6 @@ config VGA_BIOS_ID
string string
default "8086,0126" default "8086,0126"
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x17aa
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x21ce
config ONBOARD_VGA_IS_PRIMARY config ONBOARD_VGA_IS_PRIMARY
bool bool
default y default y

View File

@ -55,14 +55,6 @@ config VGA_BIOS_ID
string string
default "8086,0126" default "8086,0126"
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x17aa
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x21d2
config ONBOARD_VGA_IS_PRIMARY config ONBOARD_VGA_IS_PRIMARY
bool bool
default y default y

View File

@ -38,14 +38,6 @@ config VGA_BIOS_ID
string string
default "8086,0166" default "8086,0166"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x21f3
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x17aa
config DRAM_RESET_GATE_GPIO config DRAM_RESET_GATE_GPIO
int int
default 10 default 10

View File

@ -60,15 +60,6 @@ config VGA_BIOS_FILE
string string
default "pci8086,0166.rom" default "pci8086,0166.rom"
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x17aa
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x21fb if BOARD_LENOVO_T430S
default 0x2208 if BOARD_LENOVO_T431S
config ONBOARD_VGA_IS_PRIMARY config ONBOARD_VGA_IS_PRIMARY
bool bool
default y default y

View File

@ -65,14 +65,6 @@ config VGA_BIOS_FILE
string string
default "pci8086,0126.rom" default "pci8086,0126.rom"
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x17aa
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x21cf
config ONBOARD_VGA_IS_PRIMARY config ONBOARD_VGA_IS_PRIMARY
bool bool
default y default y

View File

@ -62,14 +62,6 @@ config VGA_BIOS_FILE
default "pci8086,0106.rom" if BOARD_LENOVO_T530 default "pci8086,0106.rom" if BOARD_LENOVO_T530
default "pci8086,0166.rom" if BOARD_LENOVO_W530 default "pci8086,0166.rom" if BOARD_LENOVO_W530
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x17aa
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x21fa
config ONBOARD_VGA_IS_PRIMARY config ONBOARD_VGA_IS_PRIMARY
bool bool
default y default y

View File

@ -37,12 +37,4 @@ config USBDEBUG_HCD_INDEX
int int
default 2 default 2
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x17aa
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x21fe
endif # BOARD_LENOVO_X131E endif # BOARD_LENOVO_X131E

View File

@ -54,12 +54,4 @@ config VGA_BIOS_ID
string string
default "8086,0166" default "8086,0166"
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x17aa
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x21fa
endif # BOARD_LENOVO_X1_CARBON_GEN1 endif # BOARD_LENOVO_X1_CARBON_GEN1

View File

@ -69,13 +69,4 @@ config VGA_BIOS_ID
default "8086,0116" if BOARD_LENOVO_X220I default "8086,0116" if BOARD_LENOVO_X220I
default "8086,0126" default "8086,0126"
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x17aa
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x21db if BOARD_LENOVO_X220 || BOARD_LENOVO_X220I
default 0x21e8 if BOARD_LENOVO_X1
endif # BOARD_LENOVO_X220 || BOARD_LENOVO_X220I || BOARD_LENOVO_X1 endif # BOARD_LENOVO_X220 || BOARD_LENOVO_X220I || BOARD_LENOVO_X1

View File

@ -55,12 +55,4 @@ config VGA_BIOS_ID
string string
default "8086,0166" default "8086,0166"
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x17aa
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x21fa
endif # BOARD_LENOVO_X230 endif # BOARD_LENOVO_X230

View File

@ -32,14 +32,6 @@ config VGA_BIOS_ID
string string
default "8086,0162" default "8086,0162"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x1007
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x174b
config DRAM_RESET_GATE_GPIO config DRAM_RESET_GATE_GPIO
int int
default 60 default 60

View File

@ -44,14 +44,6 @@ config MAINBOARD_PART_NUMBER
string string
default "X10SLM+-F" default "X10SLM+-F"
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x0803
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x15d9
config MAX_CPUS config MAX_CPUS
int int
default 8 default 8

View File

@ -181,12 +181,6 @@ func (b bd82x6x) Scan(ctx Context, addr PCIDevData) {
} }
KconfigComment["DRAM_RESET_GATE_GPIO"] = "FIXME: check this" KconfigComment["DRAM_RESET_GATE_GPIO"] = "FIXME: check this"
/* Not strictly speaking correct. These subsys/subvendor referer to PCI devices.
But most systems don't have any of those. But the config needs to be set
nevertheless. So set it to southbridge subsys/subvendor. */
KconfigHex["MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID"] = uint32(GetLE16(addr.ConfigDump[0x2c:0x2e]))
KconfigHex["MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID"] = uint32(GetLE16(addr.ConfigDump[0x2e:0x30]))
ich9GetFlashSize(ctx) ich9GetFlashSize(ctx)
DSDTDefines = append(DSDTDefines, DSDTDefines = append(DSDTDefines,