summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGokul krishna Krishnakumar <gokukris@codeaurora.org>2021-06-08 15:51:56 -0700
committerGokul krishna Krishnakumar <gokukris@codeaurora.org>2021-06-08 17:02:39 -0700
commit5ce4ba4bbe58756e429e7b25c6aac85e58e90e87 (patch)
tree66cdbd10cb7be7a7fd1d932af9c1656c36bfe5ef
parent6f374c2760cd846fd3d28cb6614c70092bba1b05 (diff)
QcomModulePkg: Pass DisplayCmdLine as command line parameter
The paramter was passed as a bootconfig paramter for V4 boot headers. Now its passed as command line paramter. Change-Id: Ib9211ac8546c7dbc56bd84bab2b44ae4effb8546
-rw-r--r--QcomModulePkg/Library/BootLib/UpdateCmdLine.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/QcomModulePkg/Library/BootLib/UpdateCmdLine.c b/QcomModulePkg/Library/BootLib/UpdateCmdLine.c
index 9adf69bc31..877804e41f 100644
--- a/QcomModulePkg/Library/BootLib/UpdateCmdLine.c
+++ b/QcomModulePkg/Library/BootLib/UpdateCmdLine.c
@@ -562,10 +562,11 @@ UpdateCmdLineParams (UpdateCmdLineParamList *Param,
Src = Param->ChipBaseBand;
AsciiStrCatS (Dst, MaxCmdLineLen, Src);
- Src = Param->DisplayCmdLine;
- AsciiStrCatS (Dst, MaxCmdLineLen, Src);
}
+ Src = Param->DisplayCmdLine;
+ AsciiStrCatS (Dst, MaxCmdLineLen, Src);
+
if (Param->MdtpActive) {
Src = Param->MdtpActiveFlag;
AsciiStrCatS (Dst, MaxCmdLineLen, Src);