[EHL] Fix Stage2 Boot Option checking
Fix mPchSciSupported flag checking before changing the
flag value of boot option.
This bug was introduced from commit
b78cbcf128
Signed-off-by: Ong Kok Tong <kok.tong.ong@intel.com>
This commit is contained in:
parent
1db0acf9ba
commit
ad6a88e34d
|
@ -1846,7 +1846,7 @@ UpdateOsBootMediumInfo (
|
|||
|
||||
FillBootOptionListFromCfgData (OsBootOptionList);
|
||||
// Disable PreOS checker since the SKU doesn't support it
|
||||
if (mPchSciSupported) {
|
||||
if (!mPchSciSupported) {
|
||||
for (Idx = 0; Idx < OsBootOptionList->OsBootOptionCount; Idx++) {
|
||||
BootOption = &(OsBootOptionList->OsBootOption[Idx]);
|
||||
if ((BootOption->BootFlags & BOOT_FLAGS_PREOS) != 0) {
|
||||
|
|
Loading…
Reference in New Issue