};\r
\r
\r
-UINT32 mFspNotfifySequence[] = {\r
+UINT32 mFspNotifySequence[] = {\r
EnumInitPhaseAfterPciEnumeration,\r
EnumInitPhaseReadyToBoot\r
};\r
/**\r
Install FSP notification.\r
\r
- @param[in] NotificatonCode FSP notification code\r
+ @param[in] NotificationCode FSP notification code\r
\r
@retval EFI_SUCCESS Notify FSP successfully\r
- @retval EFI_INVALID_PARAMETER NotificatonCode is invalid\r
+ @retval EFI_INVALID_PARAMETER NotificationCode is invalid\r
\r
**/\r
EFI_STATUS\r
EFIAPI\r
FspNotificationHandler (\r
- IN UINT32 NotificatonCode\r
+ IN UINT32 NotificationCode\r
)\r
{\r
EFI_STATUS Status;\r
\r
Status = EFI_SUCCESS;\r
\r
- switch (NotificatonCode) {\r
+ switch (NotificationCode) {\r
case EnumInitPhaseAfterPciEnumeration:\r
//\r
// Do POST PCI initialization if needed\r
)\r
{\r
EFI_STATUS Status;\r
- UINT32 NotificatonValue;\r
- UINT32 NotificatonCount;\r
+ UINT32 NotificationValue;\r
+ UINT32 NotificationCount;\r
UINT8 Count;\r
\r
- NotificatonCount = 0;\r
- while (NotificatonCount < sizeof(mFspNotfifySequence) / sizeof(UINT32)) {\r
+ NotificationCount = 0;\r
+ while (NotificationCount < sizeof(mFspNotifySequence) / sizeof(UINT32)) {\r
\r
- Count = (UINT8)((NotificatonCount << 1) & 0x07);\r
+ Count = (UINT8)((NotificationCount << 1) & 0x07);\r
SetFspMeasurePoint (FSP_PERF_ID_API_NOTIFY_POSTPCI_ENTRY + Count);\r
\r
- NotificatonValue = ((NOTIFY_PHASE_PARAMS *)(UINTN)GetFspApiParameter ())->Phase;\r
- DEBUG ((DEBUG_INFO, "FSP Got Notification. Notification Value : 0x%08X\n", NotificatonValue));\r
+ NotificationValue = ((NOTIFY_PHASE_PARAMS *)(UINTN)GetFspApiParameter ())->Phase;\r
+ DEBUG ((DEBUG_INFO, "FSP Got Notification. Notification Value : 0x%08X\n", NotificationValue));\r
\r
- if (mFspNotfifySequence[NotificatonCount] != NotificatonValue) {\r
+ if (mFspNotifySequence[NotificationCount] != NotificationValue) {\r
//\r
// Notify code does not follow the predefined order\r
//\r
//\r
// Process Notification and Give control back to the boot loader framework caller\r
//\r
- Status = FspNotificationHandler (NotificatonValue);\r
+ Status = FspNotificationHandler (NotificationValue);\r
SetFspApiReturnStatus(Status);\r
if (!EFI_ERROR(Status)) {\r
- NotificatonCount++;\r
+ NotificationCount++;\r
SetFspApiReturnStatus(EFI_SUCCESS);\r
- if (NotificatonValue == EnumInitPhaseReadyToBoot) {\r
+ if (NotificationValue == EnumInitPhaseReadyToBoot) {\r
break;\r
}\r
}\r