vc/intel: Remove unnecessary Kconfig options

These Kconfig options were being used basically as #define statements,
which is unnecessary. This isn't a good use of Kconfig options and would
be better just as #defines if actually needed.

Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: If987b50d8ec3bb2ab99096e5e3c325e4d90a67a9
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77419
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
Martin Roth 2023-08-24 17:19:03 -06:00 committed by Martin L Roth
parent 8b703954c3
commit 09202cce26
4 changed files with 7 additions and 7 deletions

View File

@ -74,7 +74,7 @@ union extended_fsp_revision {
} rev; } rev;
}; };
#if CONFIG_UDK_VERSION < CONFIG_UDK_2017_VERSION #if CONFIG_UDK_VERSION < 2017
enum resource_type { enum resource_type {
EFI_RESOURCE_SYSTEM_MEMORY = 0, EFI_RESOURCE_SYSTEM_MEMORY = 0,
EFI_RESOURCE_MEMORY_MAPPED_IO = 1, EFI_RESOURCE_MEMORY_MAPPED_IO = 1,

View File

@ -54,7 +54,7 @@ config MRC_SAVE_HASH_IN_TPM
config MRC_CACHE_USING_MRC_VERSION config MRC_CACHE_USING_MRC_VERSION
bool bool
default y if UDK_VERSION >= UDK_202302_VERSION default y if UDK_VERSION >= 202302
default n default n
help help
Use the MRC version info from FSP extended header to store the MRC cache data. Use the MRC version info from FSP extended header to store the MRC cache data.

View File

@ -6,7 +6,7 @@
#include <Base.h> #include <Base.h>
#include <Uefi/UefiBaseType.h> #include <Uefi/UefiBaseType.h>
#if CONFIG_UDK_VERSION >= CONFIG_UDK_2017_VERSION #if CONFIG_UDK_VERSION >= 2017
#include <Guid/StatusCodeDataTypeId.h> #include <Guid/StatusCodeDataTypeId.h>
#include <IndustryStandard/Bmp.h> #include <IndustryStandard/Bmp.h>
#include <Pi/PiPeiCis.h> #include <Pi/PiPeiCis.h>

View File

@ -38,10 +38,10 @@ config UDK_202302_VERSION
config UDK_VERSION config UDK_VERSION
int int
default UDK_202302_VERSION if UDK_202302_BINDING default 202302 if UDK_202302_BINDING
default UDK_202005_VERSION if UDK_202005_BINDING default 202005 if UDK_202005_BINDING
default UDK_2017_VERSION if UDK_2017_BINDING default 2017 if UDK_2017_BINDING
default UDK_2013_VERSION default 2013
help help
UEFI Development Kit version for Platform UEFI Development Kit version for Platform
endif # UDK_BASE endif # UDK_BASE