Remove Feature PCD PcdSupportFullConfigRoutingProtocol as EDK II sample implementation is UEFI compliant system which always produces gEfiHiiConfigRoutingProtocolGuid.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7892 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2009-03-16 10:24:01 +00:00
parent d26743215a
commit c40aa22af0
3 changed files with 1 additions and 43 deletions

View File

@ -232,11 +232,6 @@
# FALSE is for size reduction.
gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol|TRUE|BOOLEAN|0x00010100
## If TRUE, these interface in EFI_HII_CONFIG_ROUTING_PROTOCOL will be supported: ExtractConfig, ExportConfig, RouteConfig
# and GetAltCfg will be supported. Otherwise, these interfaces will return EFI_UNSUPPORTED.
# FALSE is for size reduction.
gEfiMdeModulePkgTokenSpaceGuid.PcdSupportFullConfigRoutingProtocol|TRUE|BOOLEAN|0x00010101
## If TRUE, USB KeyBoard Driver disables the default keyboard layout.
# The default keyboard layout serves as the backup when no keyboard layout can be retrieved
# from HII database.

View File

@ -452,15 +452,6 @@ HiiConfigRoutingExtractConfig (
EFI_STRING AccessResults;
BOOLEAN FirstElement;
//
// For size reduction, please define PcdSupportFullConfigRoutingProtocol
// as FALSE. But this renders the system to not 100% compliant with
// UEFI 2.1. Use this with caution.
//
if (!FeaturePcdGet (PcdSupportFullConfigRoutingProtocol)) {
return EFI_UNSUPPORTED;
}
if (This == NULL || Progress == NULL || Results == NULL) {
return EFI_INVALID_PARAMETER;
}
@ -660,15 +651,6 @@ HiiConfigRoutingExportConfig (
UINTN NumberConfigAccessHandles;
BOOLEAN FirstElement;
//
// For size reduction, please define PcdSupportFullConfigRoutingProtocol
// as FALSE. But this renders the system to not 100% compliant with
// UEFI 2.1. Use this with caution.
//
if (!FeaturePcdGet (PcdSupportFullConfigRoutingProtocol)) {
return EFI_UNSUPPORTED;
}
if (This == NULL || Results == NULL) {
return EFI_INVALID_PARAMETER;
}
@ -784,15 +766,6 @@ HiiConfigRoutingRouteConfig (
EFI_HII_CONFIG_ACCESS_PROTOCOL *ConfigAccess;
EFI_STRING AccessProgress;
//
// For size reduction, please define PcdSupportFullConfigRoutingProtocol
// as FALSE. But this renders the system to not 100% compliant with
// UEFI 2.1. Use this with caution.
//
if (!FeaturePcdGet (PcdSupportFullConfigRoutingProtocol)) {
return EFI_UNSUPPORTED;
}
if (This == NULL || Progress == NULL) {
return EFI_INVALID_PARAMETER;
}
@ -1490,15 +1463,6 @@ HiiGetAltCfg (
BOOLEAN NameFlag;
BOOLEAN PathFlag;
//
// For size reduction, please define PcdSupportFullConfigRoutingProtocol
// as FALSE. But this renders the system to not 100% compliant with
// UEFI 2.1. Use this with caution.
//
if (!FeaturePcdGet (PcdSupportFullConfigRoutingProtocol)) {
return EFI_UNSUPPORTED;
}
HdrStart = NULL;
HdrEnd = NULL;
GuidStr = NULL;

View File

@ -62,14 +62,13 @@
gEfiDevicePathProtocolGuid ## SOMETIMES_CONSUMES
gEfiHiiStringProtocolGuid ## PRODUCES
gEfiHiiImageProtocolGuid |PcdSupportHiiImageProtocol ## PRODUCES
gEfiHiiConfigRoutingProtocolGuid |PcdSupportFullConfigRoutingProtocol ## PRODUCES
gEfiHiiConfigRoutingProtocolGuid ## PRODUCES
gEfiHiiDatabaseProtocolGuid ## PRODUCES
gEfiHiiFontProtocolGuid ## PRODUCES
gEfiHiiConfigAccessProtocolGuid ## CONSUMES
[FeaturePcd.common]
gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol
gEfiMdeModulePkgTokenSpaceGuid.PcdSupportFullConfigRoutingProtocol
[Pcd.common]
gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultPlatformLang