aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/amd/agesa/def_callouts.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-05 12:05:53 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-26 09:28:38 +0200
commit6b4b1513a5026b6c9f2883bf6687341405579689 (patch)
treef7e8479b5d4c5087c7913881f1366292bb118ec3 /src/northbridge/amd/agesa/def_callouts.c
parent838e211013d76cb8de86d8210bb52f396b9e369c (diff)
AGESA fam12 fam14 fam15: Common handler for AGESA_RUNFUNC_ONAP
Change-Id: I9f27e1e814a80864d8ca315fe816a083c55708c6 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5682 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/northbridge/amd/agesa/def_callouts.c')
-rw-r--r--src/northbridge/amd/agesa/def_callouts.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/northbridge/amd/agesa/def_callouts.c b/src/northbridge/amd/agesa/def_callouts.c
index f0baca5349..ec323b3f1a 100644
--- a/src/northbridge/amd/agesa/def_callouts.c
+++ b/src/northbridge/amd/agesa/def_callouts.c
@@ -20,6 +20,7 @@
#include "AGESA.h"
#include "amdlib.h"
#include "Ids.h"
+#include "agesawrapper.h"
#include "def_callouts.h"
AGESA_STATUS agesa_NoopUnsupported (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
@@ -75,3 +76,12 @@ AGESA_STATUS agesa_Reset (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
Status = 0;
return Status;
}
+
+AGESA_STATUS agesa_RunFuncOnAp (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
+{
+ AGESA_STATUS Status;
+
+ Status = agesawrapper_amdlaterunaptask (Func, Data, ConfigPtr);
+ return Status;
+}
+