mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
IntelFrameworkModulePkg: Remove PcdFrameworkCompatibilitySupport usage
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1464 Currently Framework compatibility is not needed and PcdFrameworkCompatibilitySupport will be removed from edk2. So remove the usage of this PCD firstly. Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
8dc1f4ec0f
commit
9feffce9c6
@ -2,7 +2,7 @@
|
|||||||
This is an implementation of the ACPI S3 Save protocol. This is defined in
|
This is an implementation of the ACPI S3 Save protocol. This is defined in
|
||||||
S3 boot path specification 0.9.
|
S3 boot path specification 0.9.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
|
||||||
|
|
||||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
|
|
||||||
@ -140,10 +140,6 @@ S3Ready (
|
|||||||
}
|
}
|
||||||
AlreadyEntered = TRUE;
|
AlreadyEntered = TRUE;
|
||||||
|
|
||||||
if (FeaturePcdGet(PcdFrameworkCompatibilitySupport)) {
|
|
||||||
S3ReadyThunkPlatform ();
|
|
||||||
}
|
|
||||||
|
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -182,10 +178,6 @@ InstallAcpiS3Save (
|
|||||||
mLegacyRegionSize = 0x100;
|
mLegacyRegionSize = 0x100;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (FeaturePcdGet(PcdFrameworkCompatibilitySupport)) {
|
|
||||||
InstallAcpiS3SaveThunk ();
|
|
||||||
}
|
|
||||||
|
|
||||||
Status = gBS->InstallProtocolInterface (
|
Status = gBS->InstallProtocolInterface (
|
||||||
&ImageHandle,
|
&ImageHandle,
|
||||||
&gEfiAcpiS3SaveProtocolGuid,
|
&gEfiAcpiS3SaveProtocolGuid,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
## @file
|
## @file
|
||||||
# AcpiS3Save module installs ACPI S3 Save protocol to prepare S3 boot data.
|
# AcpiS3Save module installs ACPI S3 Save protocol to prepare S3 boot data.
|
||||||
#
|
#
|
||||||
# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
#
|
#
|
||||||
@ -58,7 +58,6 @@
|
|||||||
|
|
||||||
[FeaturePcd]
|
[FeaturePcd]
|
||||||
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformCsmSupport ## CONSUMES
|
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformCsmSupport ## CONSUMES
|
||||||
gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES
|
|
||||||
|
|
||||||
[Pcd]
|
[Pcd]
|
||||||
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize ## SOMETIMES_CONSUMES
|
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdS3AcpiReservedMemorySize ## SOMETIMES_CONSUMES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user