summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2016-05-19 15:16:42 +0800
committerHao Wu <hao.a.wu@intel.com>2016-07-18 12:40:48 +0800
commitd4ebbefea510f6ac5e16a0893b08026b24a1e704 (patch)
tree76cd51659357fd2c1d21fe9dfcfb8b4dfb27ec9f
parent04dcdb20531a33295f40599558be11ed59a778fa (diff)
downloadedk2-platforms-d4ebbefea510f6ac5e16a0893b08026b24a1e704.tar.xz
MdeModulePkg/PciHostBridgeDxe: Add CpuArch protocol dependency
The driver entry point calls gDS->SetMemorySpaceAttributes(). This interface may return EFI_NOT_AVAILABLE_YET when CPU Arch protocol is not available. So we need to list CpuArch protocol in its INF dependency section. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> (cherry picked from commit 0b58c4894dad03100c17ce5b1124c624f002700f)
-rw-r--r--MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf3
1 files changed, 2 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf b/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
index ab5d87e1cf..d8b0439699 100644
--- a/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
+++ b/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
@@ -52,4 +52,5 @@
[Depex]
gEfiCpuIo2ProtocolGuid AND
- gEfiMetronomeArchProtocolGuid
+ gEfiMetronomeArchProtocolGuid AND
+ gEfiCpuArchProtocolGuid