diff options
author | gdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-03-09 01:37:38 +0000 |
---|---|---|
committer | gdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-03-09 01:37:38 +0000 |
commit | 54a26282b3b910ff4648b082f32434c31f1d7246 (patch) | |
tree | 88f641a62266df9feeccd56be6ae3006a0c8402b /SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c | |
parent | 572b0adfe242dd358f0431063143fcc818356b26 (diff) | |
download | edk2-platforms-54a26282b3b910ff4648b082f32434c31f1d7246.tar.xz |
Fix system reboot automatically if changing the value of [TPM operation]
Signed-off-by: gdong1
Reviewed-by: tye1
Reviewed-by: qianouyang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13089 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c')
-rw-r--r-- | SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c b/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c index f884226d97..631441a0e4 100644 --- a/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c +++ b/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c @@ -1,7 +1,7 @@ /** @file
HII Config Access protocol implementation of TCG configuration module.
-Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -359,11 +359,6 @@ SavePpRequest ( return Status;
}
- //
- // Reset system.
- //
- gRT->ResetSystem (EfiResetCold, EFI_SUCCESS, 0, NULL);
-
return EFI_SUCCESS;
}
@@ -409,8 +404,8 @@ TcgCallback ( }
SavePpRequest (Value->u8);
- ASSERT (FALSE);
-
+ *ActionRequest = EFI_BROWSER_ACTION_REQUEST_SUBMIT;
+
return EFI_SUCCESS;
}
|