summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorAladyshev Konstantin <aladyshev@nicevt.ru>2012-12-19 05:53:53 +0400
committerMarc Jones <marcj303@gmail.com>2013-01-02 20:19:08 +0100
commitc855dce8250b6c1820f682fb4a009d37e6d59826 (patch)
treedf61d02722bc486f772500d523e1f3987b00cde8 /src/mainboard
parent34746a9c48165f89f80fb664d46b646ca9e44779 (diff)
downloadcoreboot-c855dce8250b6c1820f682fb4a009d37e6d59826.tar.xz
Supermicro H8QGI: Pass callout pointer to AmdReadEventLog function
I have issues when AmdReadEventLog function tries to use BiosCallouts interface. So it is necessary to provide callout pointer to this function. Change-Id: I4080e5f07d5d28c41688b2a7deff944b7a0f7bf7 Signed-off-by: Aladyshev Konstantin <aladyshev@nicevt.ru> Reviewed-on: http://review.coreboot.org/2064 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marcj303@gmail.com> Reviewed-by: Zheng Bao <zheng.bao@amd.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/supermicro/h8qgi/agesawrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/supermicro/h8qgi/agesawrapper.c b/src/mainboard/supermicro/h8qgi/agesawrapper.c
index aeeab110a3..d354c370d4 100644
--- a/src/mainboard/supermicro/h8qgi/agesawrapper.c
+++ b/src/mainboard/supermicro/h8qgi/agesawrapper.c
@@ -1174,7 +1174,7 @@ UINT32 agesawrapper_amdreadeventlog(UINT8 HeapStatus)
&(AmdEventParams.StdHeader));
AmdEventParams.StdHeader.AltImageBasePtr = 0;
- AmdEventParams.StdHeader.CalloutPtr = NULL;
+ AmdEventParams.StdHeader.CalloutPtr = (CALLOUT_ENTRY) &GetBiosCallout;
AmdEventParams.StdHeader.Func = 0;
AmdEventParams.StdHeader.ImageBasePtr = 0;
/* I have to know the current HeapStatus to Locate the EventLogHeapPointer */