]> git.proxmox.com Git - mirror_edk2.git/commitdiff
FmpDevicePkg: Fix spelling errors
authorSean Brogan <sean.brogan@microsoft.com>
Wed, 9 Oct 2019 04:38:02 +0000 (21:38 -0700)
committerMichael D Kinney <michael.d.kinney@intel.com>
Wed, 23 Oct 2019 15:08:08 +0000 (08:08 -0700)
https://bugzilla.tianocore.org/show_bug.cgi?id=2262

Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
FmpDevicePkg/CapsuleUpdatePolicyDxe/CapsuleUpdatePolicyDxe.c
FmpDevicePkg/CapsuleUpdatePolicyDxe/CapsuleUpdatePolicyDxe.inf
FmpDevicePkg/FmpDevicePkg.dec
FmpDevicePkg/FmpDevicePkg.dsc
FmpDevicePkg/FmpDevicePkg.uni
FmpDevicePkg/FmpDxe/FmpDxe.c
FmpDevicePkg/Include/Library/FmpDeviceLib.h
FmpDevicePkg/Library/CapsuleUpdatePolicyLibOnProtocol/CapsuleUpdatePolicyLibOnProtocol.c
FmpDevicePkg/Library/CapsuleUpdatePolicyLibOnProtocol/CapsuleUpdatePolicyLibOnProtocol.inf
FmpDevicePkg/Library/FmpDeviceLibNull/FmpDeviceLib.c
FmpDevicePkg/PrivateInclude/Protocol/CapsuleUpdatePolicy.h

index d2571fd0e6865de7f919620299dd3a90b82ffaac..1035fd67dd02116aefb0ebfdea78b9ed6c8399e3 100644 (file)
@@ -161,10 +161,10 @@ CapsuleUpdatePolicyInitialize (
 {\r
   EFI_STATUS Status;\r
 \r
-  ASSERT_PROTOCOL_ALREADY_INSTALLED (NULL, &gEdkiiCapuleUpdatePolicyProtocolGuid);\r
+  ASSERT_PROTOCOL_ALREADY_INSTALLED (NULL, &gEdkiiCapsuleUpdatePolicyProtocolGuid);\r
   Status = gBS->InstallMultipleProtocolInterfaces (\r
                   &mHandle,\r
-                  &gEdkiiCapuleUpdatePolicyProtocolGuid, &mCapsuleUpdatePolicy,\r
+                  &gEdkiiCapsuleUpdatePolicyProtocolGuid, &mCapsuleUpdatePolicy,\r
                   NULL\r
                   );\r
   ASSERT_EFI_ERROR (Status);\r
index d168780eb94f03b4c87d5f8afcf969b467e2db74..5ed7086b91e96e716c2fb543fea5ebf73bcab3b8 100644 (file)
@@ -39,7 +39,7 @@
   CapsuleUpdatePolicyLib\r
 \r
 [Protocols]\r
-  gEdkiiCapuleUpdatePolicyProtocolGuid  ## PRODUCES\r
+  gEdkiiCapsuleUpdatePolicyProtocolGuid  ## PRODUCES\r
 \r
 [Depex]\r
   TRUE\r
index 8312b7cb22d44d3a42f2f5295286a04d0b826f14..55671878dd4e2978b3612d963dc5c4c3b4f68b3b 100644 (file)
 \r
 [Protocols.Common.Private]\r
   ## Capsule Update Policy Protocol\r
-  gEdkiiCapuleUpdatePolicyProtocolGuid = { 0x487784c5, 0x6299, 0x4ba6, { 0xb0, 0x96, 0x5c, 0xc5, 0x27, 0x7c, 0xf7, 0x57 } }\r
+  gEdkiiCapsuleUpdatePolicyProtocolGuid = { 0x487784c5, 0x6299, 0x4ba6, { 0xb0, 0x96, 0x5c, 0xc5, 0x27, 0x7c, 0xf7, 0x57 } }\r
 \r
 [PcdsFeatureFlag]\r
   ## Indicates if the Firmware Management Protocol supports access to\r
   #  to a firmware storage device.  If set to FALSE, then only GetImageInfo()\r
-  #  is supported.  This is used by FMP drivers that require the samllest\r
+  #  is supported.  This is used by FMP drivers that require the smallest\r
   #  possible Firmware Management Protocol implementation that supports\r
   #  advertising the updatable firmware device in the ESRT.<BR>\r
   #    TRUE  - All Firmware Management Protocol services supported.<BR>\r
index bf283b93ea9fbe5741c409f2b7728d74f8eb4f65..67b5aa7a327468aa91cc3a3e761aecddcbe80d4e 100644 (file)
@@ -60,7 +60,7 @@
 [LibraryClasses.ARM, LibraryClasses.AARCH64]\r
   #\r
   # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
-  # This library provides the instrinsic functions generate by a given compiler.\r
+  # This library provides the intrinsic functions generate by a given compiler.\r
   # [LibraryClasses.ARM, LibraryClasses.AARCH64] and NULL mean link this library\r
   # into all ARM and AARCH64 images.\r
   #\r
index 9e21130faedace533ffbb405fa9db6c1417723de..263f88078b95c723be7c8ff43ef200b1d308138a 100644 (file)
@@ -19,7 +19,7 @@
 #string STR_gFmpDevicePkgTokenSpaceGuid_PcdFmpDeviceStorageAccessEnable_PROMPT  #language en-US "Firmware Device Storage Access Enabled."\r
 #string STR_gFmpDevicePkgTokenSpaceGuid_PcdFmpDeviceStorageAccessEnable_HELP    #language en-US "Indicates if the Firmware Management Protocol supports access to"\r
                                                                                                 "to a firmware storage device.  If set to FALSE, then only GetImageInfo()"\r
-                                                                                                "is supported.  This is used by FMP drivers that require the samllest"\r
+                                                                                                "is supported.  This is used by FMP drivers that require the smallest"\r
                                                                                                 "possible Firmware Management Protocol implementation that supports"\r
                                                                                                 "advertising the updatable firmware device in the ESRT.<BR>"\r
                                                                                                 "  TRUE  - All Firmware Management Protocol services supported.<BR>"\r
index 3ca9d3526ad3ff91e4220af8fe55a32dab2f9530..fe465af11ed96437e140cc84e1d766472aa95f2c 100644 (file)
@@ -963,7 +963,7 @@ SetTheImage (
   VOID                              *FmpHeader;\r
   UINTN                             FmpPayloadSize;\r
   UINT32                            AllHeaderSize;\r
-  UINT32                            IncommingFwVersion;\r
+  UINT32                            IncomingFwVersion;\r
   UINT32                            LastAttemptStatus;\r
   UINT32                            Version;\r
   UINT32                            LowestSupportedVersion;\r
@@ -975,7 +975,7 @@ SetTheImage (
   FmpHeader          = NULL;\r
   FmpPayloadSize     = 0;\r
   AllHeaderSize      = 0;\r
-  IncommingFwVersion = 0;\r
+  IncomingFwVersion = 0;\r
   LastAttemptStatus  = LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL;\r
 \r
   if (!FeaturePcdGet (PcdFmpDeviceStorageAccessEnable)) {\r
@@ -996,7 +996,7 @@ SetTheImage (
   //\r
   // Set to 0 to clear any previous results.\r
   //\r
-  SetLastAttemptVersionInVariable (Private, IncommingFwVersion);\r
+  SetLastAttemptVersionInVariable (Private, IncomingFwVersion);\r
 \r
   //\r
   // if we have locked the device, then skip the set operation.\r
@@ -1030,12 +1030,12 @@ SetTheImage (
     Status = EFI_ABORTED;\r
     goto cleanup;\r
   }\r
-  Status = GetFmpPayloadHeaderVersion (FmpHeader, FmpPayloadSize, &IncommingFwVersion);\r
+  Status = GetFmpPayloadHeaderVersion (FmpHeader, FmpPayloadSize, &IncomingFwVersion);\r
   if (!EFI_ERROR (Status)) {\r
     //\r
     // Set to actual value\r
     //\r
-    SetLastAttemptVersionInVariable (Private, IncommingFwVersion);\r
+    SetLastAttemptVersionInVariable (Private, IncomingFwVersion);\r
   }\r
 \r
 \r
@@ -1158,7 +1158,7 @@ SetTheImage (
              ImageSize - AllHeaderSize,\r
              VendorCode,\r
              FmpDxeProgress,\r
-             IncommingFwVersion,\r
+             IncomingFwVersion,\r
              AbortReason\r
              );\r
   if (EFI_ERROR (Status)) {\r
index 1e498c13ce0b9edf128bad49f3f72d5716467ac8..9a89f5c2eec5c7e33bfe91f26b6824d6999c097d 100644 (file)
@@ -89,7 +89,7 @@ RegisterFmpInstaller (
                              Protocol.\r
 \r
   @retval EFI_SUCCESS      The device is managed by a driver that follows the\r
-                           UEFI Driver Model.  FmpUinstaller must be called on\r
+                           UEFI Driver Model.  FmpUninstaller must be called on\r
                            each Driver Binding Stop().\r
   @retval EFI_UNSUPPORTED  The device is not managed by a driver that follows\r
                            the UEFI Driver Model.\r
@@ -321,7 +321,7 @@ FmpDeviceGetVersion (
                                 device.\r
 \r
   @retval EFI_SUCCESS       The hardware instance for the current firmware\r
-                            devide is returned in HardwareInstance.\r
+                            device is returned in HardwareInstance.\r
   @retval EFI_UNSUPPORTED   The firmware device does not support a method to\r
                             report the hardware instance value.\r
   @retval EFI_DEVICE_ERROR  An error occurred attempting to retrieve the hardware\r
index 2c7c37fa9215a1e2711e67c8fe797f4a19c6991a..6f916888c72f25ae63af3ae72e383ec1377122e4 100644 (file)
@@ -37,7 +37,7 @@ LookupCapsuleUpdatePolicyProtocol (
     return TRUE;\r
   }\r
   Status = gBS->LocateProtocol (\r
-                  &gEdkiiCapuleUpdatePolicyProtocolGuid,\r
+                  &gEdkiiCapsuleUpdatePolicyProtocolGuid,\r
                   NULL,\r
                   (VOID **)&mCapsuleUpdatePolicy\r
                   );\r
index 042daaabce88d8052426c3ad63f981769be9fcad..a56b836d22b7c21aeb40503784475619a36b72ed 100644 (file)
@@ -37,4 +37,4 @@
   UefiBootServicesTableLib\r
 \r
 [Protocols]\r
-  gEdkiiCapuleUpdatePolicyProtocolGuid  ## CONSUMES\r
+  gEdkiiCapsuleUpdatePolicyProtocolGuid  ## CONSUMES\r
index fd219cb70bc5c9e00a29c206444b0307920c71c7..316de12e910c6e23328592401d10f9f924416363 100644 (file)
@@ -50,7 +50,7 @@ RegisterFmpInstaller (
                              Protocol.\r
 \r
   @retval EFI_SUCCESS      The device is managed by a driver that follows the\r
-                           UEFI Driver Model.  FmpUinstaller must be called on\r
+                           UEFI Driver Model.  FmpUninstaller must be called on\r
                            each Driver Binding Stop().\r
   @retval EFI_UNSUPPORTED  The device is not managed by a driver that follows\r
                            the UEFI Driver Model.\r
@@ -319,7 +319,7 @@ FmpDeviceGetVersion (
                                 device.\r
 \r
   @retval EFI_SUCCESS       The hardware instance for the current firmware\r
-                            devide is returned in HardwareInstance.\r
+                            device is returned in HardwareInstance.\r
   @retval EFI_UNSUPPORTED   The firmware device does not support a method to\r
                             report the hardware instance value.\r
   @retval EFI_DEVICE_ERROR  An error occurred attempting to retrieve the hardware\r
index 871f0a185439cb4c2b20a1c76e879fe52f145591..4f7d917295ea0fbb43a570ed7bb5ae34eef8bf10 100644 (file)
@@ -127,6 +127,6 @@ struct _EDKII_CAPSULE_UPDATE_POLICY_PROTOCOL {
   EDKII_CAPSULE_UPDATE_POLICY_IS_FMP_DEVICE_AT_LOCK_EVENT_REQUIRED        IsLockFmpDeviceAtLockEventGuidRequired;\r
 };\r
 \r
-extern EFI_GUID gEdkiiCapuleUpdatePolicyProtocolGuid;\r
+extern EFI_GUID gEdkiiCapsuleUpdatePolicyProtocolGuid;\r
 \r
 #endif\r