summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorzbao <fishbaozi@gmail.com>2012-07-23 19:57:43 +0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-07-26 19:10:27 +0200
commit38bd80d5a7320dc1b9277c00f18539cc4f878776 (patch)
tree165ca6b923d4d19c969c13f87740e6de4a215448 /src/mainboard
parent035f1d2f14166aff3cd7d38b4174acc4945ba704 (diff)
downloadcoreboot-38bd80d5a7320dc1b9277c00f18539cc4f878776.tar.xz
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/amd/parmer/agesawrapper.c4
1 files 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;