ArmPlatformPkg/Bds: Minor fixes and coding style changes

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12316 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
oliviermartin 2011-09-09 10:56:14 +00:00
parent aa863d357a
commit ff7666c511

View File

@ -82,7 +82,7 @@ SelectBootDevice (
Status = EFI_ABORTED; Status = EFI_ABORTED;
goto EXIT; goto EXIT;
} else if ((SupportedDeviceSelected == 0) || (SupportedDeviceSelected > SupportedDeviceCount)) { } else if ((SupportedDeviceSelected == 0) || (SupportedDeviceSelected > SupportedDeviceCount)) {
Print(L"Invalid input (max %d)\n",SupportedDeviceSelected); Print(L"Invalid input (max %d)\n",SupportedDeviceCount);
SupportedDeviceSelected = 0; SupportedDeviceSelected = 0;
} }
} }
@ -353,7 +353,7 @@ BootMenuUpdateBootOption (
// Get the device support for this Boot Option // Get the device support for this Boot Option
Status = BootDeviceGetDeviceSupport (BootOption, &DeviceSupport); Status = BootDeviceGetDeviceSupport (BootOption, &DeviceSupport);
if (EFI_ERROR(Status)) { if (EFI_ERROR(Status)) {
Print(L"Impossible to retrieve the supported device for the update\n"); Print(L"Not possible to retrieve the supported device for the update\n");
return EFI_UNSUPPORTED; return EFI_UNSUPPORTED;
} }
@ -463,7 +463,7 @@ BootMenuManager (
} }
return EFI_SUCCESS; return EFI_SUCCESS;
} else if ((OptionSelected > 0) && (OptionSelected <= BootManagerEntryCount)) { } else if ((OptionSelected > 0) && (OptionSelected <= BootManagerEntryCount)) {
Status = BootManagerEntries[OptionSelected-1].Callback (BootOptionsList); BootManagerEntries[OptionSelected-1].Callback (BootOptionsList);
} }
} }