Add correct bios callout into read event routine
Read event routine didn't get the correct BIOS callout. So it could not get the heap address. Then it would creat many warning in serial port. Change-Id: Ia35601bda1579c7f726ed767d7be78713ac185d2 Signed-off-by: Zheng Bao <zheng.bao@amd.com> Signed-off-by: zbao <fishbaozi@gmail.com> Reviewed-on: http://review.coreboot.org/1266 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
035f1d2f14
commit
38bd80d5a7
|
@ -423,7 +423,7 @@ agesawrapper_amdinitlate (
|
||||||
Status = AmdInitLate(AmdLateParams);
|
Status = AmdInitLate(AmdLateParams);
|
||||||
/* CDIT table is not created. */
|
/* CDIT table is not created. */
|
||||||
if (Status != AGESA_SUCCESS) {
|
if (Status != AGESA_SUCCESS) {
|
||||||
/* agesawrapper_amdreadeventlog(AmdLateParams->StdHeader.HeapStatus); */
|
agesawrapper_amdreadeventlog(AmdLateParams->StdHeader.HeapStatus);
|
||||||
ASSERT(Status == AGESA_SUCCESS);
|
ASSERT(Status == AGESA_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -752,7 +752,7 @@ agesawrapper_amdreadeventlog (
|
||||||
&(AmdEventParams.StdHeader));
|
&(AmdEventParams.StdHeader));
|
||||||
|
|
||||||
AmdEventParams.StdHeader.AltImageBasePtr = 0;
|
AmdEventParams.StdHeader.AltImageBasePtr = 0;
|
||||||
AmdEventParams.StdHeader.CalloutPtr = NULL;
|
AmdEventParams.StdHeader.CalloutPtr = (CALLOUT_ENTRY) &GetBiosCallout;
|
||||||
AmdEventParams.StdHeader.Func = 0;
|
AmdEventParams.StdHeader.Func = 0;
|
||||||
AmdEventParams.StdHeader.ImageBasePtr = 0;
|
AmdEventParams.StdHeader.ImageBasePtr = 0;
|
||||||
AmdEventParams.StdHeader.HeapStatus = HeapStatus;
|
AmdEventParams.StdHeader.HeapStatus = HeapStatus;
|
||||||
|
|
Loading…
Reference in New Issue