mb/lenovo: Add SMBIOS type 9 for ExpressCard

Mark all known PCIe root ports as ExpressCard slot.

Tested on Lenovo T520.

Change-Id: I43fb481512a54ee054c6fd0189053028fb3c3ec2
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32309
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Patrick Rudolph 2019-04-12 16:14:27 +02:00 committed by Patrick Georgi
parent d694f6e21b
commit 052163236c
13 changed files with 21 additions and 4 deletions

View File

@ -109,6 +109,7 @@ chip northbridge/intel/gm45
end # PCIe Port #3
device pci 1c.3 on
subsystemid 0x17aa 0x20f3 # Expresscard
smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
end # PCIe Port #4
device pci 1c.4 off end # PCIe Port #5
device pci 1c.5 off end # PCIe Port #6

View File

@ -94,6 +94,7 @@ chip northbridge/intel/sandybridge
device pci 1c.2 off end # PCIe Port #3
device pci 1c.3 on
subsystemid 0x17aa 0x21ce
smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
end # PCIe Port #4 ExpressCard
device pci 1c.4 on
subsystemid 0x17aa 0x21ce

View File

@ -93,6 +93,7 @@ chip northbridge/intel/sandybridge
device pci 1c.2 off end # PCIe Port #3
device pci 1c.3 on
subsystemid 0x17aa 0x21d2
smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
end # PCIe Port #4 ExpressCard
device pci 1c.4 off end # PCIe Port #5
device pci 1c.5 off end # PCIe Port #6 Intel Gigabit Ethernet PHY (not PCIe)

View File

@ -88,6 +88,7 @@ chip northbridge/intel/sandybridge
end
device pci 1c.2 on # PCIe Port #3
subsystemid 0x17aa 0x21f3
smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
end
device pci 1c.3 off # PCIe Port #4
end

View File

@ -99,6 +99,7 @@ chip northbridge/intel/sandybridge
end # PCIe Port #2 Integrated Wireless LAN
device pci 1c.2 on
subsystemid 0x17aa 0x21fb
smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
end # PCIe Port #3 ExpressCard
device pci 1c.3 off end # PCIe Port #4
device pci 1c.4 off end # PCIe Port #5

View File

@ -80,7 +80,9 @@ chip northbridge/intel/sandybridge
device pci 1c.0 off end # PCIe Port #1
device pci 1c.1 on end # PCIe Port #2 Integrated Wireless LAN
device pci 1c.2 off end # PCIe Port #3
device pci 1c.3 on end # PCIe Port #4 Express Card
device pci 1c.3 on
smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
end # PCIe Port #4 Express Card
device pci 1c.4 on end # PCIe Port #5 MMC/SDXC + IEEE1394
device pci 1c.5 off end # PCIe Port #6 Intel Ethernet PHY
device pci 1c.6 off end # PCIe Port #7 USB 3.0 only W520

View File

@ -80,7 +80,9 @@ chip northbridge/intel/sandybridge
device pci 1c.0 off end # PCIe Port #1
device pci 1c.1 on end # PCIe Port #2 Integrated Wireless LAN
device pci 1c.2 off end # PCIe Port #3
device pci 1c.3 on end # PCIe Port #4 Express Card
device pci 1c.3 on
smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
end # PCIe Port #4 Express Card
device pci 1c.4 on end # PCIe Port #5 MMC/SDXC + IEEE1394
device pci 1c.5 off end # PCIe Port #6 Intel Ethernet PHY
device pci 1c.6 on end # PCIe Port #7 USB 3.0 only W520

View File

@ -83,7 +83,9 @@ chip northbridge/intel/sandybridge
device pci 1b.0 on end # High Definition Audio
device pci 1c.0 on end # PCIe Port #1
device pci 1c.1 on end # PCIe Port #2
device pci 1c.2 on end # PCIe Port #3 (expresscard)
device pci 1c.2 on
smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
end # PCIe Port #3 (expresscard)
device pci 1c.3 off end # PCIe Port #4
device pci 1c.4 off end # PCIe Port #5
device pci 1c.5 off end # PCIe Port #6

View File

@ -98,6 +98,7 @@ chip northbridge/intel/sandybridge
end
device pci 1c.2 on # PCIe Port #3
subsystemid 0x17aa 0x21f6
smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
end
device pci 1c.3 off # PCIe Port #4
end

View File

@ -113,6 +113,7 @@ chip northbridge/intel/gm45
end # PCIe Port #3
device pci 1c.3 on
subsystemid 0x17aa 0x20f3 # Expresscard
smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
end # PCIe Port #4
device pci 1c.4 off end # PCIe Port #5
device pci 1c.5 off end # PCIe Port #6

View File

@ -92,7 +92,9 @@ chip northbridge/intel/nehalem
device pci 1c.0 on end # PCIe Port #1
device pci 1c.1 on end # PCIe Port #2 (wwan)
device pci 1c.3 on end # PCIe Port #4 (Expresscard)
device pci 1c.3 on
smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
end # PCIe Port #4 (Expresscard)
device pci 1c.4 on end # PCIe Port #5 (wlan)
device pci 1d.0 on # USB2 EHCI

View File

@ -98,6 +98,7 @@ chip northbridge/intel/sandybridge
end # PCIe Port #3
device pci 1c.3 on
subsystemid 0x17aa 0x21db
smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
end # PCIe Port #4
device pci 1c.4 on
subsystemid 0x17aa 0x21db

View File

@ -110,6 +110,7 @@ chip northbridge/intel/sandybridge
end # PCIe Port #2
device pci 1c.2 on
subsystemid 0x17aa 0x21fa
smbios_slot_desc "7" "3" "ExpressCard Slot" "8"
end # PCIe Port #3 (expresscard)
device pci 1c.3 off end # PCIe Port #4
device pci 1c.4 off end # PCIe Port #5