X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFspWrapperPkg%2FFspNotifyDxe%2FFspNotifyDxe.c;h=859b26728d7c51852363b66bfdc7794e139b8575;hp=7beedc458ae04481886c3c62a435c0b802cc219d;hb=d8043ce905a5832f911361ef30be28765afbdc6b;hpb=d5fb1edfb16a2af29486ffbf5aa32a036da9caa4 diff --git a/IntelFspWrapperPkg/FspNotifyDxe/FspNotifyDxe.c b/IntelFspWrapperPkg/FspNotifyDxe/FspNotifyDxe.c index 7beedc458a..859b26728d 100644 --- a/IntelFspWrapperPkg/FspNotifyDxe/FspNotifyDxe.c +++ b/IntelFspWrapperPkg/FspNotifyDxe/FspNotifyDxe.c @@ -1,7 +1,7 @@ /** @file This driver will register two callbacks to call fsp's notifies. - Copyright (c) 2014, Intel Corporation. All rights reserved.
+ Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -40,7 +40,6 @@ OnPciEnumerationComplete ( { NOTIFY_PHASE_PARAMS NotifyPhaseParams; EFI_STATUS Status; - FSP_STATUS FspStatus; VOID *Interface; // @@ -57,9 +56,9 @@ OnPciEnumerationComplete ( } NotifyPhaseParams.Phase = EnumInitPhaseAfterPciEnumeration; - FspStatus = CallFspNotifyPhase (mFspHeader, &NotifyPhaseParams); - if (FspStatus != FSP_SUCCESS) { - DEBUG((DEBUG_ERROR, "FSP NotifyPhase AfterPciEnumeration failed, status: 0x%x\n", FspStatus)); + Status = CallFspNotifyPhase (mFspHeader, &NotifyPhaseParams); + if (Status != EFI_SUCCESS) { + DEBUG((DEBUG_ERROR, "FSP NotifyPhase AfterPciEnumeration failed, status: 0x%x\n", Status)); } else { DEBUG((DEBUG_INFO, "FSP NotifyPhase AfterPciEnumeration Success.\n")); } @@ -84,14 +83,14 @@ OnReadyToBoot ( ) { NOTIFY_PHASE_PARAMS NotifyPhaseParams; - FSP_STATUS FspStatus; + EFI_STATUS Status; gBS->CloseEvent (Event); NotifyPhaseParams.Phase = EnumInitPhaseReadyToBoot; - FspStatus = CallFspNotifyPhase (mFspHeader, &NotifyPhaseParams); - if (FspStatus != FSP_SUCCESS) { - DEBUG((DEBUG_ERROR, "FSP NotifyPhase ReadyToBoot failed, status: 0x%x\n", FspStatus)); + Status = CallFspNotifyPhase (mFspHeader, &NotifyPhaseParams); + if (Status != EFI_SUCCESS) { + DEBUG((DEBUG_ERROR, "FSP NotifyPhase ReadyToBoot failed, status: 0x%x\n", Status)); } else { DEBUG((DEBUG_INFO, "FSP NotifyPhase ReadyToBoot Success.\n")); }