]> git.proxmox.com Git - mirror_edk2.git/commit - OvmfPkg/PlatformPei/Platform.c
OvmfPkg/PlatformPei: Fix issue with 'RELEASE' tag build
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 22 Mar 2011 04:54:18 +0000 (04:54 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 22 Mar 2011 04:54:18 +0000 (04:54 +0000)
commit667bf1e48f1af4e9bba3d6d2805ec2fbb1b145c6
treed4a47d8bd77d9610591296154fc337871537a619
parent9ed65b1005034bc4c051af5e237fa4e637570afc
OvmfPkg/PlatformPei: Fix issue with 'RELEASE' tag build

When building in release mode on OVMF, the ASSERT_EFI_ERROR
macro is empty.  So, to set the BootMode, in a release build,
it must be outside of ASSERT_EFI_ERROR.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11413 6f19259b-4bc3-4df7-8a09-765794883524
OvmfPkg/PlatformPei/Platform.c