From 38bd80d5a7320dc1b9277c00f18539cc4f878776 Mon Sep 17 00:00:00 2001 From: zbao Date: Mon, 23 Jul 2012 19:57:43 +0800 Subject: 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 Signed-off-by: zbao Reviewed-on: http://review.coreboot.org/1266 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/amd/parmer/agesawrapper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainboard/amd/parmer/agesawrapper.c b/src/mainboard/amd/parmer/agesawrapper.c index 3229161a6d..b82c1c137f 100644 --- a/src/mainboard/amd/parmer/agesawrapper.c +++ b/src/mainboard/amd/parmer/agesawrapper.c @@ -423,7 +423,7 @@ agesawrapper_amdinitlate ( Status = AmdInitLate(AmdLateParams); /* CDIT table is not created. */ if (Status != AGESA_SUCCESS) { - /* agesawrapper_amdreadeventlog(AmdLateParams->StdHeader.HeapStatus); */ + agesawrapper_amdreadeventlog(AmdLateParams->StdHeader.HeapStatus); ASSERT(Status == AGESA_SUCCESS); } @@ -752,7 +752,7 @@ agesawrapper_amdreadeventlog ( &(AmdEventParams.StdHeader)); AmdEventParams.StdHeader.AltImageBasePtr = 0; - AmdEventParams.StdHeader.CalloutPtr = NULL; + AmdEventParams.StdHeader.CalloutPtr = (CALLOUT_ENTRY) &GetBiosCallout; AmdEventParams.StdHeader.Func = 0; AmdEventParams.StdHeader.ImageBasePtr = 0; AmdEventParams.StdHeader.HeapStatus = HeapStatus; -- cgit v1.2.3