summaryrefslogtreecommitdiffstats
path: root/UefiPayloadPkg
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2020-01-06 16:03:01 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-01-10 07:00:51 +0000
commiteaea26b7814bbc08982bfbf087648701a91fe88c (patch)
tree2cbd2f0ec3d25d0ccd2e4528b645b056b4058820 /UefiPayloadPkg
parent6eacb857c17b842595c6c6061a46b378af2a9616 (diff)
downloadedk2-eaea26b7814bbc08982bfbf087648701a91fe88c.tar.gz
edk2-eaea26b7814bbc08982bfbf087648701a91fe88c.tar.bz2
edk2-eaea26b7814bbc08982bfbf087648701a91fe88c.zip
UefiPayloadPkg: remove EnterS3WithImmediateWake () from ResetSystemLib
EnterS3WithImmediateWake () no longer has any callers, so remove it from ResetSystemLib. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Guo Dong <guo.dong@intel.com>
Diffstat (limited to 'UefiPayloadPkg')
-rw-r--r--UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.c b/UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.c
index 3fe3c805af..2e4b7fe592 100644
--- a/UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.c
+++ b/UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.c
@@ -132,24 +132,6 @@ ResetShutdown (
}
/**
- Calling this function causes the system to enter a power state for capsule
- update.
-
- Reset update should not return, if it returns, it means the system does
- not support capsule update.
-
-**/
-VOID
-EFIAPI
-EnterS3WithImmediateWake (
- VOID
- )
-{
- AcpiPmControl (5);
- ASSERT (FALSE);
-}
-
-/**
This function causes a systemwide reset. The exact type of the reset is
defined by the EFI_GUID that follows the Null-terminated Unicode string passed
into ResetData. If the platform does not recognize the EFI_GUID in ResetData