summaryrefslogtreecommitdiff
path: root/OvmfPkg/PlatformPei
diff options
context:
space:
mode:
Diffstat (limited to 'OvmfPkg/PlatformPei')
-rw-r--r--OvmfPkg/PlatformPei/Platform.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/OvmfPkg/PlatformPei/Platform.c b/OvmfPkg/PlatformPei/Platform.c
index 10ae623ddd..01460639b1 100644
--- a/OvmfPkg/PlatformPei/Platform.c
+++ b/OvmfPkg/PlatformPei/Platform.c
@@ -1,7 +1,7 @@
/**@file
Platform PEI driver
- Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2011, Andrei Warkentin <andreiw@motorola.com>
This program and the accompanying materials
@@ -420,6 +420,8 @@ InitializePlatform (
XenLeaf = XenDetect ();
+ BootModeInitialization ();
+
PublishPeiMemory ();
if (XenLeaf != 0) {
@@ -445,7 +447,5 @@ InitializePlatform (
MiscInitialization ();
- BootModeInitialization ();
-
return EFI_SUCCESS;
}