summaryrefslogtreecommitdiff
path: root/src/drivers/amd/agesa/eventlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/amd/agesa/eventlog.c')
-rw-r--r--src/drivers/amd/agesa/eventlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/amd/agesa/eventlog.c b/src/drivers/amd/agesa/eventlog.c
index cc65652033..6cfcde520b 100644
--- a/src/drivers/amd/agesa/eventlog.c
+++ b/src/drivers/amd/agesa/eventlog.c
@@ -48,7 +48,7 @@ static const char *HeapStatusStr[] = {
const char *agesa_struct_name(int state)
{
-#if IS_ENABLED(CONFIG_CPU_AMD_AGESA_OPENSOURCE)
+#if CONFIG(CPU_AMD_AGESA_OPENSOURCE)
if ((state < AMD_INIT_RECOVERY) || (state > AMD_IDENTIFY_DIMMS))
return undefined;