summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2019-06-19 18:52:05 +0200
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2019-06-19 18:52:05 +0200
commit7d5e8dbff6ed2b1d1812192022f643397444124c (patch)
tree552332bd6405d73b10762a5ca92c09f2479c6c72
parent17530730ab253c4c0d2cd6dd8b0a7760ebfbcf0e (diff)
QcomModulePkg: BootLinux: skip UpdateCmdLine()
When using ABL with community builds (e.g. non Qualcomm builds), we don't need the configuration that exists through the cmdline, so let's skip this function. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r--QcomModulePkg/Library/BootLib/BootLinux.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/QcomModulePkg/Library/BootLib/BootLinux.c b/QcomModulePkg/Library/BootLib/BootLinux.c
index ca8348130..faea2a43c 100644
--- a/QcomModulePkg/Library/BootLib/BootLinux.c
+++ b/QcomModulePkg/Library/BootLib/BootLinux.c
@@ -603,12 +603,16 @@ BootLinux (BootInfo *Info)
BootDevImage = TRUE;
}
+#if 0
Status = UpdateCmdLine (BootParamlistPtr.CmdLine, FfbmStr, Recovery,
AlarmBoot, Info->VBCmdLine, &BootParamlistPtr.FinalCmdLine);
if (EFI_ERROR (Status)) {
DEBUG ((EFI_D_ERROR, "Error updating cmdline. Device Error %r\n", Status));
return Status;
}
+#else
+ BootParamlistPtr.FinalCmdLine = BootParamlistPtr.CmdLine;
+#endif
Info->HeaderVersion = ((boot_img_hdr *)
(BootParamlistPtr.ImageBuffer))->header_version;