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-21 16:18:00 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-12-03 08:10:14 +0100
commit13fdf36ef9f7d03135c2f0984967f56a6cda13ce (patch)
tree1411e5a360dc3f6e857ef596e333129534e2a206 /src/northbridge/amd/agesa/agesawrapper_call.h
parent4ee82c69a2ecfe1afc9a357fc7ddbaa06c10d2b5 (diff)
downloadcoreboot-13fdf36ef9f7d03135c2f0984967f56a6cda13ce.tar.xz
AGESA: Add common eventlog
Change-Id: Ibbf10a53ea671990d336340fdc96dfb37b5defd0 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/7161 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, 1 insertions, 1 deletions
diff --git a/src/northbridge/amd/agesa/agesawrapper_call.h b/src/northbridge/amd/agesa/agesawrapper_call.h
index 71997a8278..3720dd314b 100644
--- a/src/northbridge/amd/agesa/agesawrapper_call.h
+++ b/src/northbridge/amd/agesa/agesawrapper_call.h
@@ -62,7 +62,7 @@ static inline u32 do_agesawrapper(AGESA_STATUS (*func)(void), const char *name)
#if CONFIG_NORTHBRIDGE_AMD_AGESA_FAMILY12 || CONFIG_NORTHBRIDGE_AMD_AGESA_FAMILY14
/* TODO: These families do not pass valid HeapStatus. */
#define AGESA_EVENTLOG(status) \
- if (status != AGESA_SUCCESS) agesawrapper_amdreadeventlog()
+ if (status != AGESA_SUCCESS) agesawrapper_amdreadeventlog(0)
#else
#define AGESA_EVENTLOG(status, heapstatus) \
if (status != AGESA_SUCCESS) agesawrapper_amdreadeventlog(heapstatus)