diff options
author | qctecmdr <qctecmdr@localhost> | 2021-07-16 10:53:46 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2021-07-16 10:53:45 -0700 |
commit | 819cece6d50dea3bdd97f4f1523bd793634a129f (patch) | |
tree | c22c86efe2bafd90f716effafc18ed3ef8efa721 | |
parent | 88cd9af345c90c7f97bd24d3dbd7a329f4c6b6c2 (diff) | |
parent | 215d9d355fc2b49c27dc7a1c10109a16b359ae23 (diff) |
Merge "QcomModulePkg: Change memory limit to bytes in cmdline"
-rw-r--r-- | QcomModulePkg/Library/BootLib/UpdateCmdLine.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/QcomModulePkg/Library/BootLib/UpdateCmdLine.c b/QcomModulePkg/Library/BootLib/UpdateCmdLine.c index 35c8005300..11cad3ae82 100644 --- a/QcomModulePkg/Library/BootLib/UpdateCmdLine.c +++ b/QcomModulePkg/Library/BootLib/UpdateCmdLine.c @@ -443,9 +443,7 @@ GetMemoryLimit (VOID *fdt, CHAR8 *MemOffAmt) } } - MemLimit /= MB_SIZE; - - AsciiSPrint (MemOffAmt, MEM_OFF_SIZE, "%dMB", MemLimit); + AsciiSPrint (MemOffAmt, MEM_OFF_SIZE, "%luB", MemLimit); return EFI_SUCCESS; |