mb, soc/intel: Switch to using drivers/wifi/generic for Intel WiFi devices

This change switches all mainboard devices to use drivers/wifi/generic
instead of drivers/intel/wifi chip driver for Intel WiFi
devices. There is no need for two separate chip drivers in coreboot to
handle Intel and non-Intel WiFi devices since the differences can be
handled at runtime using the PCI vendor ID. This also allows mainboard
to easily multi-source WiFi chips and still use the same firmware
image without having to distinguish between the chip drivers.

BUG=b:169802515
BRANCH=zork

Change-Id: Ieac603a970cb2c9bf835021d1fb0fd07fd535280
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46035
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
This commit is contained in:
Furquan Shaikh
2020-10-04 12:52:54 -07:00
parent a1ddd2a15d
commit a266d1e63a
41 changed files with 47 additions and 47 deletions

View File

@@ -90,7 +90,7 @@ chip soc/intel/alderlake
end # USB3.1 xHCI
device pci 14.1 off end # USB3.1 xDCI
device pci 14.2 off end # Shared RAM
chip drivers/intel/wifi
chip drivers/wifi/generic
register "wake" = "GPE0_PME_B0"
device pci 14.3 on end # CNVi: WiFi
end

View File

@@ -94,7 +94,7 @@ chip soc/intel/cannonlake
device pci 12.6 off end # GSPI #2
device pci 14.0 on end # USB xHCI
device pci 14.1 off end # USB xDCI (OTG)
chip drivers/intel/wifi
chip drivers/wifi/generic
register "wake" = "PME_B0_EN_BIT"
device pci 14.3 on end # CNVi wifi
end

View File

@@ -75,7 +75,7 @@ chip soc/intel/cannonlake
device pci 12.6 off end # GSPI #2
device pci 14.0 on end # USB xHCI
device pci 14.1 off end # USB xDCI (OTG)
chip drivers/intel/wifi
chip drivers/wifi/generic
register "wake" = "PME_B0_EN_BIT"
device pci 14.3 on end # CNVi wifi
end

View File

@@ -92,7 +92,7 @@ chip soc/intel/cannonlake
register "PcieClkSrcClkReq[10]" = "10"
device domain 0 on
chip drivers/intel/wifi
chip drivers/wifi/generic
register "wake" = "PME_B0_EN_BIT"
device pci 14.3 on end # CNVi wifi
end

View File

@@ -61,7 +61,7 @@ chip soc/intel/cannonlake
}"
device domain 0 on
chip drivers/intel/wifi
chip drivers/wifi/generic
register "wake" = "PME_B0_EN_BIT"
device pci 14.3 on end # CNVi wifi
end

View File

@@ -80,7 +80,7 @@ chip soc/intel/cannonlake
register "sdcard_cd_gpio" = "GPP_G5"
device domain 0 on
chip drivers/intel/wifi
chip drivers/wifi/generic
register "wake" = "PME_B0_EN_BIT"
device pci 14.3 on end # CNVi wifi
end

View File

@@ -65,7 +65,7 @@ chip soc/intel/cannonlake
register "sdcard_cd_gpio" = "GPP_G5"
device domain 0 on
chip drivers/intel/wifi
chip drivers/wifi/generic
register "wake" = "PME_B0_EN_BIT"
device pci 14.3 on end # CNVi wifi
end

View File

@@ -280,7 +280,7 @@ chip soc/intel/icelake
end # USB xHCI
device pci 14.1 off end # USB xDCI (OTG)
device pci 14.2 off end # PMC SRAM
chip drivers/intel/wifi
chip drivers/wifi/generic
register "wake" = "GPE0_PME_B0"
device pci 14.3 on end # CNVi wifi
end
@@ -309,7 +309,7 @@ chip soc/intel/icelake
device pci 19.2 on end # UART #2
device pci 1a.0 on end # eMMC
device pci 1c.0 on
chip drivers/intel/wifi
chip drivers/wifi/generic
register "wake" = "GPE0_PCI_EXP"
device pci 00.0 on end
end

View File

@@ -280,7 +280,7 @@ chip soc/intel/icelake
end # USB xHCI
device pci 14.1 off end # USB xDCI (OTG)
device pci 14.2 off end # PMC SRAM
chip drivers/intel/wifi
chip drivers/wifi/generic
register "wake" = "GPE0_PME_B0"
device pci 14.3 on end # CNVi wifi
end
@@ -309,7 +309,7 @@ chip soc/intel/icelake
device pci 19.2 on end # UART #2
device pci 1a.0 on end # eMMC
device pci 1c.0 on
chip drivers/intel/wifi
chip drivers/wifi/generic
register "wake" = "GPE0_PCI_EXP"
device pci 00.0 on end
end

View File

@@ -299,7 +299,7 @@ chip soc/intel/jasperlake
end # USB xHCI
device pci 14.1 off end # USB xDCI (OTG)
device pci 14.2 off end # PMC SRAM
chip drivers/intel/wifi
chip drivers/wifi/generic
register "wake" = "GPE0_PME_B0"
device pci 14.3 on end # CNVi wifi
end

View File

@@ -243,7 +243,7 @@ chip soc/intel/skylake
end
end # I2C #4
device pci 1c.0 on
chip drivers/intel/wifi
chip drivers/wifi/generic
register "wake" = "GPE0_DW0_16"
device pci 00.0 on end
end

View File

@@ -230,7 +230,7 @@ chip soc/intel/tigerlake
device pci 14.0 on end # USB3.1 xHCI 0xA0ED
device pci 14.1 on end # USB3.1 xDCI 0xA0EE
device pci 14.2 on end # Shared RAM 0xA0EF
chip drivers/intel/wifi
chip drivers/wifi/generic
register "wake" = "GPE0_PME_B0"
device pci 14.3 on end # CNVi: WiFi 0xA0F0 - A0F3
end

View File

@@ -234,7 +234,7 @@ chip soc/intel/tigerlake
device pci 14.0 on end # USB3.1 xHCI 0xA0ED
device pci 14.1 on end # USB3.1 xDCI 0xA0EE
device pci 14.2 on end # Shared RAM 0xA0EF
chip drivers/intel/wifi
chip drivers/wifi/generic
register "wake" = "GPE0_PME_B0"
device pci 14.3 on end # CNVi: WiFi 0xA0F0 - A0F3
end