summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqctecmdr <qctecmdr@localhost>2021-09-02 11:42:54 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2021-09-02 11:42:54 -0700
commit2943e5b4f38c85d49d65194735824013bc75290d (patch)
treeb9b0d49fd30efae276867183e25bd907b9ae1adc
parentcf254d7b384d4ffa831bec5975ed78b03a1ca6a9 (diff)
parent20513fdfd88c30963e0f399ec37264a3075ad09a (diff)
Merge "QcomModulePkg: Fix android slotsuffix"
-rw-r--r--QcomModulePkg/Library/BootLib/UpdateCmdLine.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/QcomModulePkg/Library/BootLib/UpdateCmdLine.c b/QcomModulePkg/Library/BootLib/UpdateCmdLine.c
index 11cad3ae82..f9fbb9ab40 100644
--- a/QcomModulePkg/Library/BootLib/UpdateCmdLine.c
+++ b/QcomModulePkg/Library/BootLib/UpdateCmdLine.c
@@ -584,6 +584,9 @@ UpdateCmdLineParams (UpdateCmdLineParamList *Param,
Src = Param->SlotSuffixAscii;
AsciiStrCatS (Dst, MaxCmdLineLen, Src);
} else {
+ BootConfigFlag = IsAndroidBootParam (Param->AndroidSlotSuffix,
+ AsciiStrLen (Param->AndroidSlotSuffix),
+ Param->HeaderVersion);
AddtoBootConfigList (BootConfigFlag, Param->AndroidSlotSuffix,
Param->SlotSuffixAscii,
BootConfigListHead,