Skip to content

Commit

Permalink
Hisilicon/Pci: Move PciPlatform to common directory
Browse files Browse the repository at this point in the history
This is to prepare for switching to generic PciHostBridge driver, so
we move all platform specific code to platform specific drivers, not
in PciHostBridge driver.

The PciPlatform driver is design a common driver in Hisilicon,so move
this driver to Hisilion/Drvers. Remove the useless file PciPlatform.h.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Heyi Guo <[email protected]>
Signed-off-by: Ming Huang <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
  • Loading branch information
Heyi Guo authored and Ard Biesheuvel committed Jul 25, 2018
1 parent 68cb331 commit 38a8a8d
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 184 deletions.
2 changes: 1 addition & 1 deletion Platform/Hisilicon/D03/D03.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@
<LibraryClasses>
NULL|Platform/Hisilicon/D03/Library/PlatformPciLib/PlatformPciLib.inf
}
Platform/Hisilicon/D03/Drivers/PciPlatform/PciPlatform.inf
Silicon/Hisilicon/Drivers/PciPlatform/PciPlatform.inf
Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf {
<LibraryClasses>
DmaLib|EmbeddedPkg/Library/CoherentDmaLib/CoherentDmaLib.inf
Expand Down
2 changes: 1 addition & 1 deletion Platform/Hisilicon/D03/D03.fdf
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ READ_LOCK_STATUS = TRUE
# PCI Support
#
INF Silicon/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitDxe.inf
INF Platform/Hisilicon/D03/Drivers/PciPlatform/PciPlatform.inf
INF Silicon/Hisilicon/Drivers/PciPlatform/PciPlatform.inf
INF Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf
INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf

Expand Down
180 changes: 0 additions & 180 deletions Platform/Hisilicon/D03/Drivers/PciPlatform/PciPlatform.h

This file was deleted.

2 changes: 1 addition & 1 deletion Platform/Hisilicon/D05/D05.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@
<LibraryClasses>
NULL|Platform/Hisilicon/D05/Library/PlatformPciLib/PlatformPciLib.inf
}
Platform/Hisilicon/D03/Drivers/PciPlatform/PciPlatform.inf
Silicon/Hisilicon/Drivers/PciPlatform/PciPlatform.inf
Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf {
<LibraryClasses>
DmaLib|EmbeddedPkg/Library/CoherentDmaLib/CoherentDmaLib.inf
Expand Down
2 changes: 1 addition & 1 deletion Platform/Hisilicon/D05/D05.fdf
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ READ_LOCK_STATUS = TRUE
# PCI Support
#
INF Silicon/Hisilicon/Hi1610/Drivers/PcieInit1610/PcieInitDxe.inf
INF Platform/Hisilicon/D03/Drivers/PciPlatform/PciPlatform.inf
INF Silicon/Hisilicon/Drivers/PciPlatform/PciPlatform.inf
INF Silicon/Hisilicon/Drivers/PciHostBridgeDxe/PciHostBridgeDxe.inf
INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf

Expand Down

0 comments on commit 38a8a8d

Please sign in to comment.