From 277fe9aa03ae0d52189a564db9363f17c1582e19 Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Wed, 18 Jun 2014 05:00:13 +0000 Subject: 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 Reviewed-by: Feng Tian git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15564 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'IntelFrameworkModulePkg') 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; } } } -- cgit v1.2.3