diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-05-19 15:16:42 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-18 12:40:48 +0800 |
commit | d4ebbefea510f6ac5e16a0893b08026b24a1e704 (patch) | |
tree | 76cd51659357fd2c1d21fe9dfcfb8b4dfb27ec9f | |
parent | 04dcdb20531a33295f40599558be11ed59a778fa (diff) | |
download | edk2-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.inf | 3 |
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
|