summaryrefslogtreecommitdiffstats
path: root/UefiPayloadPkg/Library
diff options
context:
space:
mode:
authorGuo Dong <guo.dong@intel.com>2021-10-18 20:34:38 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-10-19 03:48:42 +0000
commit91a978ce7e0c7a327cff1d9411b0e1c9dae8824a (patch)
treea1844d073a7a36d08c75c02bd76e1ce584690cb3 /UefiPayloadPkg/Library
parent36b561623a4b8a6c7fea0b1b01f6789f2adf97e0 (diff)
downloadedk2-91a978ce7e0c7a327cff1d9411b0e1c9dae8824a.tar.gz
edk2-91a978ce7e0c7a327cff1d9411b0e1c9dae8824a.tar.bz2
edk2-91a978ce7e0c7a327cff1d9411b0e1c9dae8824a.zip
UefiPayloadPkg: Replace MEMROY_ENTRY by MEMORY_ENTRY
Fixes simple typo, no behavioral change. Cc: Maurice Ma <maurice.ma@intel.com> Cc: Guo Dong <guo.dong@intel.com> Cc: Benjamin You <benjamin.you@intel.com> Signed-off-by: Moritz Fischer <moritzf@google.com> Reviewed-by: Guo Dong <guo.dong@intel.com>
Diffstat (limited to 'UefiPayloadPkg/Library')
-rw-r--r--UefiPayloadPkg/Library/CbParseLib/CbParseLib.c2
-rw-r--r--UefiPayloadPkg/Library/SblParseLib/SblParseLib.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/UefiPayloadPkg/Library/CbParseLib/CbParseLib.c b/UefiPayloadPkg/Library/CbParseLib/CbParseLib.c
index 4be5d66ba5..57e1cadc34 100644
--- a/UefiPayloadPkg/Library/CbParseLib/CbParseLib.c
+++ b/UefiPayloadPkg/Library/CbParseLib/CbParseLib.c
@@ -383,7 +383,7 @@ ParseMemoryInfo (
struct cb_memory *rec;
struct cb_memory_range *Range;
UINTN Index;
- MEMROY_MAP_ENTRY MemoryMap;
+ MEMORY_MAP_ENTRY MemoryMap;
//
// Get the coreboot memory table
diff --git a/UefiPayloadPkg/Library/SblParseLib/SblParseLib.c b/UefiPayloadPkg/Library/SblParseLib/SblParseLib.c
index ccdcbfc07d..6904529925 100644
--- a/UefiPayloadPkg/Library/SblParseLib/SblParseLib.c
+++ b/UefiPayloadPkg/Library/SblParseLib/SblParseLib.c
@@ -93,10 +93,10 @@ ParseMemoryInfo (
IN VOID *Params
)
{
- MEMROY_MAP_INFO *MemoryMapInfo;
+ MEMORY_MAP_INFO *MemoryMapInfo;
UINTN Idx;
- MemoryMapInfo = (MEMROY_MAP_INFO *) GetGuidHobDataFromSbl (&gLoaderMemoryMapInfoGuid);
+ MemoryMapInfo = (MEMORY_MAP_INFO *) GetGuidHobDataFromSbl (&gLoaderMemoryMapInfoGuid);
if (MemoryMapInfo == NULL) {
ASSERT (FALSE);
return RETURN_NOT_FOUND;