aboutsummaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/agesa/f16kb/Proc/CPU/cpuEventLog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode/amd/agesa/f16kb/Proc/CPU/cpuEventLog.c')
-rw-r--r--src/vendorcode/amd/agesa/f16kb/Proc/CPU/cpuEventLog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vendorcode/amd/agesa/f16kb/Proc/CPU/cpuEventLog.c b/src/vendorcode/amd/agesa/f16kb/Proc/CPU/cpuEventLog.c
index 4b6a9f9fb9..ad3fa397be 100644
--- a/src/vendorcode/amd/agesa/f16kb/Proc/CPU/cpuEventLog.c
+++ b/src/vendorcode/amd/agesa/f16kb/Proc/CPU/cpuEventLog.c
@@ -213,6 +213,9 @@ PutEventLog (
(EventClass == AGESA_UNSUPPORTED) ? "UNSUPPORTED" :
"SUCCESS", EventInfo, DataParam1, DataParam2, DataParam3, DataParam4);
+ if (EventClass < AGESA_STATUS_LOG_LEVEL)
+ return;
+
AgesaEventAlloc = NULL;
GetEventLogHeapPointer (&AgesaEventAlloc, StdHeader);
ASSERT (AgesaEventAlloc != NULL);