summaryrefslogtreecommitdiff
path: root/OvmfPkg/PlatformPei/Platform.c
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2014-02-01 21:22:36 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2014-02-01 21:22:36 +0000
commitc191a58fac8901952b44c31856c9f25e390b09b5 (patch)
tree9669da28a226a6f279d9d6f11c071633090002f6 /OvmfPkg/PlatformPei/Platform.c
parent18f31ada8d5f02a42408dfe4092a8bcc71fc4ed9 (diff)
downloadedk2-platforms-c191a58fac8901952b44c31856c9f25e390b09b5.tar.xz
OvmfPkg/PlatformPei: Set PcdPciDisableBusEnumeration in InitializeXen
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Wei Liu <wei.liu2@citrix.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15204 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/PlatformPei/Platform.c')
-rw-r--r--OvmfPkg/PlatformPei/Platform.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/OvmfPkg/PlatformPei/Platform.c b/OvmfPkg/PlatformPei/Platform.c
index 743044d29e..d4df0c60e7 100644
--- a/OvmfPkg/PlatformPei/Platform.c
+++ b/OvmfPkg/PlatformPei/Platform.c
@@ -384,9 +384,7 @@ InitializePlatform (
PublishPeiMemory ();
- if (mXen) {
- PcdSetBool (PcdPciDisableBusEnumeration, TRUE);
- } else {
+ if (!mXen) {
TopOfMemory = MemDetect ();
}