coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX)
This patch is a raw application of find src/ -type f | xargs sed -i -e 's/IS_ENABLED\s*(CONFIG_/CONFIG(/g' Change-Id: I6262d6d5c23cabe23c242b4f38d446b74fe16b88 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31774 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
committed by
Patrick Georgi
parent
b3a8cc54db
commit
cd49cce7b7
@@ -8,18 +8,18 @@
|
||||
#define AGESA_ENTRY_INIT_EARLY TRUE
|
||||
#define AGESA_ENTRY_INIT_POST TRUE
|
||||
|
||||
#define AGESA_ENTRY_INIT_RESUME IS_ENABLED(CONFIG_HAVE_ACPI_RESUME)
|
||||
#define AGESA_ENTRY_INIT_RESUME CONFIG(HAVE_ACPI_RESUME)
|
||||
|
||||
#else
|
||||
|
||||
#define AGESA_ENTRY_INIT_ENV TRUE
|
||||
#define AGESA_ENTRY_INIT_LATE_RESTORE IS_ENABLED(CONFIG_HAVE_ACPI_RESUME)
|
||||
#define AGESA_ENTRY_INIT_LATE_RESTORE CONFIG(HAVE_ACPI_RESUME)
|
||||
|
||||
#define AGESA_ENTRY_INIT_MID TRUE
|
||||
#define AGESA_ENTRY_INIT_LATE TRUE
|
||||
#define AGESA_ENTRY_INIT_S3SAVE \
|
||||
(IS_ENABLED(CONFIG_HAVE_ACPI_RESUME) || \
|
||||
IS_ENABLED(CONFIG_ENABLE_MRC_CACHE))
|
||||
(CONFIG(HAVE_ACPI_RESUME) || \
|
||||
CONFIG(ENABLE_MRC_CACHE))
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -489,7 +489,7 @@ MemPIsIdSupported (
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
if (IS_ENABLED(CONFIG_FORCE_AM1_SOCKET_SUPPORT))
|
||||
if (CONFIG(FORCE_AM1_SOCKET_SUPPORT))
|
||||
return TRUE;
|
||||
else
|
||||
return FALSE;
|
||||
|
@@ -916,7 +916,7 @@ fam15_disable_stack_remote_read_exit:
|
||||
# This shouldn't be used with S3 resume IF the stack/cache area is
|
||||
# not reserved and over system memory.
|
||||
#--------------------------------------------------------------------------
|
||||
#if !IS_ENABLED(CONFIG_POSTCAR_STAGE)
|
||||
#if !CONFIG(POSTCAR_STAGE)
|
||||
wbinvd
|
||||
#else
|
||||
invd
|
||||
|
@@ -651,7 +651,7 @@ fam15_disable_stack_remote_read_exit:
|
||||
# This shouldn't be used with S3 resume IF the stack/cache area is
|
||||
# not reserved and over system memory.
|
||||
#--------------------------------------------------------------------------
|
||||
#if !IS_ENABLED(CONFIG_POSTCAR_STAGE)
|
||||
#if !CONFIG(POSTCAR_STAGE)
|
||||
wbinvd
|
||||
#else
|
||||
invd
|
||||
|
@@ -615,7 +615,7 @@ fam16_disable_stack_remote_read_exit:
|
||||
# This shouldn't be used with S3 resume IF the stack/cache area is
|
||||
# not reserved and over system memory.
|
||||
#--------------------------------------------------------------------------
|
||||
#if !IS_ENABLED(CONFIG_POSTCAR_STAGE)
|
||||
#if !CONFIG(POSTCAR_STAGE)
|
||||
wbinvd
|
||||
#else
|
||||
invd
|
||||
|
Reference in New Issue
Block a user