Skip to content

Commit

Permalink
Silicon/Hisilicon: switch to NonDiscoverable driver for EHCI
Browse files Browse the repository at this point in the history
Replace the open coded PCI 'emulation' with a simple call into
the NonDiscoverable device registration library, and fix up all
platform .DSCs/FDFs accordingly.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Leif Lindholm <[email protected]>
  • Loading branch information
Ard Biesheuvel committed Aug 29, 2017
1 parent 260c957 commit 2f03dc8
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 766 deletions.
1 change: 1 addition & 0 deletions Platform/Hisilicon/D02/Pv660D02.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@
# USB Support
#
Silicon/Hisilicon/Drivers/VirtualEhciPciIo/VirtualEhciPciIo.inf
MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.inf
MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
Expand Down
1 change: 1 addition & 0 deletions Platform/Hisilicon/D02/Pv660D02.fdf
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ READ_LOCK_STATUS = TRUE
# USB Support
#
INF Silicon/Hisilicon/Drivers/VirtualEhciPciIo/VirtualEhciPciIo.inf
INF MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.inf
INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
Expand Down
1 change: 1 addition & 0 deletions Platform/Hisilicon/D03/D03.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@
# Usb Support
#
Silicon/Hisilicon/Drivers/VirtualEhciPciIo/VirtualEhciPciIo.inf
MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.inf
MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
Platform/Hisilicon/D03/Drivers/OhciDxe/OhciDxe.inf
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
Expand Down
1 change: 1 addition & 0 deletions Platform/Hisilicon/D03/D03.fdf
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ READ_LOCK_STATUS = TRUE
#

INF Silicon/Hisilicon/Drivers/VirtualEhciPciIo/VirtualEhciPciIo.inf
INF MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.inf
INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
INF Platform/Hisilicon/D03/Drivers/OhciDxe/OhciDxe.inf
INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
Expand Down
1 change: 1 addition & 0 deletions Platform/Hisilicon/D05/D05.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@
# Usb Support
#
Silicon/Hisilicon/Drivers/VirtualEhciPciIo/VirtualEhciPciIo.inf
MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.inf
MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
Expand Down
1 change: 1 addition & 0 deletions Platform/Hisilicon/D05/D05.fdf
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ READ_LOCK_STATUS = TRUE
#

INF Silicon/Hisilicon/Drivers/VirtualEhciPciIo/VirtualEhciPciIo.inf
INF MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.inf
INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
INF Platform/Hisilicon/D05/Drivers/OhciDxe/OhciDxe.inf
INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
Expand Down
Loading

0 comments on commit 2f03dc8

Please sign in to comment.