diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-16 10:24:01 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-16 10:24:01 +0000 |
commit | c40aa22af055aa55e3200cc7befd07d1e82a9fdd (patch) | |
tree | 61a65438e52c2be3fb230e6f1e8b646abd52e3b2 | |
parent | d26743215a5553c494a2c262f9882fe21ec0e9bc (diff) | |
download | edk2-c40aa22af055aa55e3200cc7befd07d1e82a9fdd.zip edk2-c40aa22af055aa55e3200cc7befd07d1e82a9fdd.tar.gz edk2-c40aa22af055aa55e3200cc7befd07d1e82a9fdd.tar.bz2 |
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
-rw-r--r-- | MdeModulePkg/MdeModulePkg.dec | 5 | ||||
-rw-r--r-- | MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c | 36 | ||||
-rw-r--r-- | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf | 3 |
3 files changed, 1 insertions, 43 deletions
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 9a07e3f..5abd9b8 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -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.
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c index 4d533c4..d55fdf4 100644 --- a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c +++ b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c @@ -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;
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf b/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf index 5007c58..ae584cc 100644 --- a/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf +++ b/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf @@ -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
|