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:
@@ -89,7 +89,7 @@ chip soc/intel/cannonlake
|
||||
register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC_SKIP)" # Type-A port 3
|
||||
end
|
||||
device pci 14.1 off end # USB xDCI (OTG)
|
||||
chip drivers/intel/wifi # CNVi wifi
|
||||
chip drivers/wifi/generic # CNVi wifi
|
||||
register "wake" = "GPE0_PME_B0"
|
||||
device pci 14.3 on end
|
||||
end
|
||||
@@ -141,7 +141,7 @@ chip soc/intel/cannonlake
|
||||
end
|
||||
device pci 1c.6 off end # PCI Express Port 7
|
||||
device pci 1c.7 on # PCI Express Port 8
|
||||
chip drivers/intel/wifi
|
||||
chip drivers/wifi/generic
|
||||
device pci 00.0 on end # x1 M.2/E 2230 (J_WLAN1)
|
||||
end
|
||||
register "PcieRpEnable[7]" = "1"
|
||||
|
Reference in New Issue
Block a user