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>
This commit is contained in:
Aladyshev Konstantin 2012-12-19 05:53:53 +04:00 committed by Marc Jones
parent 34746a9c48
commit c855dce825
1 changed files with 1 additions and 1 deletions

View File

@ -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 */