mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-27 03:33:50 +00:00
rollback_index: Remove recovery_mode parameter to SetupTPM.
SetupTPM no longer uses recovery_mode parameter for anything other than a debug print. This change moves the debug print to a caller function, then removes recovery_mode from SetupTPM and some caller functions that no longer have a use for it. BUG=chrome-os-partner:20913. TEST=Manual. Boot factory install shim in recovery mode and verify TPM clear operations succeed. Boot in dev mode and verify "Lock physical presence" print on UART. BRANCH=None. Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Change-Id: I2f671f6680a6e67cf722855e659e99752bc0783c Reviewed-on: https://gerrit.chromium.org/gerrit/62916 Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
committed by
ChromeBot
parent
964144bf2f
commit
472d93c146
@@ -24,7 +24,7 @@ int main(int argc, char* argv[])
|
||||
|
||||
is_virt_dev = 1;
|
||||
version = 1;
|
||||
TEST_EQ(RollbackFirmwareSetup(0, 0, 0, 0, &is_virt_dev, &version),
|
||||
TEST_EQ(RollbackFirmwareSetup(0, 0, 0, &is_virt_dev, &version),
|
||||
0, "RollbackFirmwareSetup()");
|
||||
TEST_EQ(is_virt_dev, 0, "rfs is_virt_dev");
|
||||
TEST_EQ(version, 0, "rfs version");
|
||||
|
||||
Reference in New Issue
Block a user