summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/agesa/agesawrapper_call.h
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-10-20 07:41:20 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-12-03 08:10:36 +0100
commitb139b5efcc7f1caf541156fa8d213e3eaf231603 (patch)
treedd0eca6c35ceaa3d841fb65358aab90c068beb4e /src/northbridge/amd/agesa/agesawrapper_call.h
parent13fdf36ef9f7d03135c2f0984967f56a6cda13ce (diff)
downloadcoreboot-b139b5efcc7f1caf541156fa8d213e3eaf231603.tar.xz
AGESA: Common agesawrapper for S3 resume
Change-Id: I27cd073331659e47d241a0ce249b2d080b4bab5c Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/7162 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/northbridge/amd/agesa/agesawrapper_call.h')
-rw-r--r--src/northbridge/amd/agesa/agesawrapper_call.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/northbridge/amd/agesa/agesawrapper_call.h b/src/northbridge/amd/agesa/agesawrapper_call.h
index 3720dd314b..55742d4e8a 100644
--- a/src/northbridge/amd/agesa/agesawrapper_call.h
+++ b/src/northbridge/amd/agesa/agesawrapper_call.h
@@ -63,9 +63,11 @@ static inline u32 do_agesawrapper(AGESA_STATUS (*func)(void), const char *name)
/* TODO: These families do not pass valid HeapStatus. */
#define AGESA_EVENTLOG(status) \
if (status != AGESA_SUCCESS) agesawrapper_amdreadeventlog(0)
+#define AGESA_EVENTLOG_(x,y) AGESA_EVENTLOG(x)
#else
#define AGESA_EVENTLOG(status, heapstatus) \
if (status != AGESA_SUCCESS) agesawrapper_amdreadeventlog(heapstatus)
+#define AGESA_EVENTLOG_(x,y) AGESA_EVENTLOG(x,y)
#endif
#endif