AGESA fam12 fam15: Unify agesawrapper_amdlaterunaptask
Pass parameter Func like fam14, fam15tn and fam16kb. Change-Id: I262bf88e431f7035e668ac8f3fb29ac0690b3e52 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5681 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
parent
5e19fa4c51
commit
838e211013
|
@ -561,11 +561,7 @@ agesawrapper_amdinitlate(VOID)
|
|||
return (UINT32)Status;
|
||||
}
|
||||
|
||||
UINT32
|
||||
agesawrapper_amdlaterunaptask (
|
||||
UINT32 Data,
|
||||
VOID *ConfigPtr
|
||||
)
|
||||
UINT32 agesawrapper_amdlaterunaptask (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
|
||||
{
|
||||
AGESA_STATUS Status;
|
||||
AP_EXE_PARAMS AmdLateParams;
|
||||
|
|
|
@ -129,6 +129,6 @@ UINT32 agesawrapper_amdinitmid (void);
|
|||
UINT32 agesawrapper_amdreadeventlog (void);
|
||||
UINT32 agesawrapper_amdinitmmio (void);
|
||||
void *agesawrapper_getlateinitptr (int pick);
|
||||
UINT32 agesawrapper_amdlaterunaptask (UINT32 Data, VOID *ConfigPtr);
|
||||
UINT32 agesawrapper_amdlaterunaptask (UINT32 Func, UINT32 Data, VOID *ConfigPtr);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -516,11 +516,7 @@ agesawrapper_amdinitlate (
|
|||
return (UINT32)Status;
|
||||
}
|
||||
|
||||
UINT32
|
||||
agesawrapper_amdlaterunaptask (
|
||||
UINT32 Data,
|
||||
VOID *ConfigPtr
|
||||
)
|
||||
UINT32 agesawrapper_amdlaterunaptask (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
|
||||
{
|
||||
AGESA_STATUS Status;
|
||||
AP_EXE_PARAMS ApExeParams;
|
||||
|
|
|
@ -128,7 +128,7 @@ UINT32 agesawrapper_amdinitmid (void);
|
|||
UINT32 agesawrapper_amdreadeventlog (void);
|
||||
UINT32 agesawrapper_amdinitcpuio (void);
|
||||
UINT32 agesawrapper_amdinitmmio (void);
|
||||
UINT32 agesawrapper_amdlaterunaptask (UINT32 Data, VOID *ConfigPtr);
|
||||
UINT32 agesawrapper_amdlaterunaptask (UINT32 Func, UINT32 Data, VOID *ConfigPtr);
|
||||
void *agesawrapper_getlateinitptr (int pick);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -467,7 +467,7 @@ UINT32 agesawrapper_amdinitlate(VOID)
|
|||
* @param[in] UINTN ApicIdOfCore,
|
||||
* @param[in] AP_EXE_PARAMS *LaunchApParams
|
||||
*/
|
||||
UINT32 agesawrapper_amdlaterunaptask(UINT32 Data, VOID *ConfigPtr)
|
||||
UINT32 agesawrapper_amdlaterunaptask (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
|
||||
{
|
||||
AGESA_STATUS Status;
|
||||
AMD_LATE_PARAMS AmdLateParams;
|
||||
|
|
|
@ -82,6 +82,6 @@ UINT32 agesawrapper_amdinitmid (void);
|
|||
UINT32 agesawrapper_amdreadeventlog (UINT8 HeapStatus);
|
||||
UINT32 agesawrapper_amdinitmmio (void);
|
||||
void *agesawrapper_getlateinitptr (int pick);
|
||||
UINT32 agesawrapper_amdlaterunaptask(UINT32 Data, VOID *ConfigPtr);
|
||||
UINT32 agesawrapper_amdlaterunaptask (UINT32 Func, UINT32 Data, VOID *ConfigPtr);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -467,7 +467,7 @@ UINT32 agesawrapper_amdinitlate(VOID)
|
|||
* @param[in] UINTN ApicIdOfCore,
|
||||
* @param[in] AP_EXE_PARAMS *LaunchApParams
|
||||
*/
|
||||
UINT32 agesawrapper_amdlaterunaptask(UINT32 Data, VOID *ConfigPtr)
|
||||
UINT32 agesawrapper_amdlaterunaptask (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
|
||||
{
|
||||
AGESA_STATUS Status;
|
||||
AMD_LATE_PARAMS AmdLateParams;
|
||||
|
|
|
@ -82,6 +82,6 @@ UINT32 agesawrapper_amdinitmid (void);
|
|||
UINT32 agesawrapper_amdreadeventlog (UINT8 HeapStatus);
|
||||
UINT32 agesawrapper_amdinitmmio (void);
|
||||
void *agesawrapper_getlateinitptr (int pick);
|
||||
UINT32 agesawrapper_amdlaterunaptask(UINT32 Data, VOID *ConfigPtr);
|
||||
UINT32 agesawrapper_amdlaterunaptask (UINT32 Func, UINT32 Data, VOID *ConfigPtr);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -477,7 +477,7 @@ UINT32 agesawrapper_amdinitlate(VOID)
|
|||
* @param[in] UINTN ApicIdOfCore,
|
||||
* @param[in] AP_EXE_PARAMS *LaunchApParams
|
||||
*/
|
||||
UINT32 agesawrapper_amdlaterunaptask(UINT32 Data, VOID *ConfigPtr)
|
||||
UINT32 agesawrapper_amdlaterunaptask (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
|
||||
{
|
||||
AGESA_STATUS Status;
|
||||
AMD_LATE_PARAMS AmdLateParams;
|
||||
|
|
|
@ -82,6 +82,6 @@ UINT32 agesawrapper_amdinitmid (void);
|
|||
UINT32 agesawrapper_amdreadeventlog (UINT8 HeapStatus);
|
||||
UINT32 agesawrapper_amdinitmmio (void);
|
||||
void *agesawrapper_getlateinitptr (int pick);
|
||||
UINT32 agesawrapper_amdlaterunaptask(UINT32 Data, VOID *ConfigPtr);
|
||||
UINT32 agesawrapper_amdlaterunaptask (UINT32 Func, UINT32 Data, VOID *ConfigPtr);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -336,7 +336,7 @@ AGESA_STATUS BiosRunFuncOnAp (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
|
|||
{
|
||||
AGESA_STATUS Status;
|
||||
|
||||
Status = agesawrapper_amdlaterunaptask (Data, ConfigPtr);
|
||||
Status = agesawrapper_amdlaterunaptask (Func, Data, ConfigPtr);
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
|
|
@ -336,7 +336,7 @@ AGESA_STATUS BiosRunFuncOnAp (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
|
|||
{
|
||||
AGESA_STATUS Status;
|
||||
|
||||
Status = agesawrapper_amdlaterunaptask (Data, ConfigPtr);
|
||||
Status = agesawrapper_amdlaterunaptask (Func, Data, ConfigPtr);
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue