summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2014-06-18 05:00:13 +0000
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2014-06-18 05:00:13 +0000
commit277fe9aa03ae0d52189a564db9363f17c1582e19 (patch)
tree7b56891ffc1ae40fa6404fd7ffff77f56694ea66 /IntelFrameworkModulePkg
parentbe9304f33f78a645512e76e6d44a69198d5f3c06 (diff)
downloadedk2-platforms-277fe9aa03ae0d52189a564db9363f17c1582e19.tar.xz
Create boot option for all block IO devices no matter what the device path looks like.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15564 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r--IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c
index de69a04b04..b41ce79d50 100644
--- a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c
+++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c
@@ -3283,6 +3283,7 @@ BdsLibEnumerateAllBootOption (
break;
case BDS_EFI_MESSAGE_MISC_BOOT:
+ default:
if (MiscNumber != 0) {
UnicodeSPrint (Buffer, sizeof (Buffer), L"%s %d", BdsLibGetStringById (STRING_TOKEN (STR_DESCRIPTION_MISC)), MiscNumber);
} else {
@@ -3291,9 +3292,6 @@ BdsLibEnumerateAllBootOption (
BdsLibBuildOptionFromHandle (BlockIoHandles[Index], BdsBootOptionList, Buffer);
MiscNumber++;
break;
-
- default:
- break;
}
}
}