summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Cagle <dcagle@codeaurora.org>2021-07-07 17:07:21 -0700
committerDennis Cagle <dcagle@codeaurora.org>2021-08-02 10:39:59 -0700
commitb72b7372c08c0e55d8b5b525de594ecd8c46e088 (patch)
tree566abd6de3a47be8e2aab332eaa596ea837e734f
parent969dae11ce21fe29a09f6260015df0d3a25b6060 (diff)
Update dm= to dm-mod.create=
After the introduction of CONFIG_DM_INIT, the dm= command line parameter is no longer recognized. Change-Id: I9dd46833f35e4f931e4ae06c85d2823f14bc761c
-rw-r--r--QcomModulePkg/Library/BootLib/LECmdLine.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/QcomModulePkg/Library/BootLib/LECmdLine.c b/QcomModulePkg/Library/BootLib/LECmdLine.c
index ee6bdb8679..cbe61480e8 100644
--- a/QcomModulePkg/Library/BootLib/LECmdLine.c
+++ b/QcomModulePkg/Library/BootLib/LECmdLine.c
@@ -1,6 +1,6 @@
/** @file LECmdLine.c
*
- * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2015-2018, 2021 The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -249,7 +249,7 @@ GetLEVerityCmdLine (CONST CHAR8 *SourceCmdLine,
AsciiSPrint (
DMTemp,
MAX_VERITY_CMD_LINE,
- " %a dm=\"%a none ro,0 %a %a 1 %a%d %a%d %a %a %a %d %a %a %a\"",
+ " %a dm-mod.create=\"%a,,,ro,0 %a %a 1 %a%d %a%d %a %a %a %d %a %a %a\"",
VerityRoot, VerityAppliedOn, SectorSize, VerityName,
VeritySystemPartitionStr, Index, VeritySystemPartitionStr, Index,
VerityBlockSize, VerityBlockSize, DataSize, HashSize, VerityEncriptionName,
@@ -260,7 +260,7 @@ GetLEVerityCmdLine (CONST CHAR8 *SourceCmdLine,
AsciiSPrint (
DMTemp,
MAX_VERITY_CMD_LINE,
- " %a dm=\"%a none ro,0 %a %a 1 %a%d %a%d %a %a %a %d %a %a %a %d %a %a %a %a%d %a 2 %a %a %a %a\"",
+ " %a dm-mod.create=\"%a,,,ro,0 %a %a 1 %a%d %a%d %a %a %a %d %a %a %a %d %a %a %a %a%d %a 2 %a %a %a %a\"",
VerityRoot, VerityAppliedOn, SectorSize, VerityName,
VeritySystemPartitionStr, Index, VeritySystemPartitionStr, Index,
VerityBlockSize, VerityBlockSize, DataSize, HashSize, VerityEncriptionName,