AGESA: Declare callout Fch_Oem_config static
Change-Id: If5c62b868c4144845d79dc26068c500ab5d26947 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/7111 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
parent
7b14f08f45
commit
f5f9e38d12
|
@ -30,6 +30,8 @@
|
||||||
#endif
|
#endif
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr);
|
||||||
|
|
||||||
const BIOS_CALLOUT_STRUCT BiosCallouts[] =
|
const BIOS_CALLOUT_STRUCT BiosCallouts[] =
|
||||||
{
|
{
|
||||||
{AGESA_ALLOCATE_BUFFER, agesa_AllocateBuffer },
|
{AGESA_ALLOCATE_BUFFER, agesa_AllocateBuffer },
|
||||||
|
@ -189,7 +191,7 @@ static void oem_fan_control(FCH_DATA_BLOCK *FchParams)
|
||||||
* Configure platform specific Hudson device,
|
* Configure platform specific Hudson device,
|
||||||
* such Azalia, SATA, IMC etc.
|
* such Azalia, SATA, IMC etc.
|
||||||
*/
|
*/
|
||||||
AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr)
|
static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr)
|
||||||
{
|
{
|
||||||
AMD_CONFIG_PARAMS *StdHeader = ConfigPtr;
|
AMD_CONFIG_PARAMS *StdHeader = ConfigPtr;
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,5 @@
|
||||||
#include <northbridge/amd/agesa/family16kb/fam16kb_callouts.h>
|
#include <northbridge/amd/agesa/family16kb/fam16kb_callouts.h>
|
||||||
|
|
||||||
|
|
||||||
/* FCH OEM Config*/
|
|
||||||
AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr);
|
|
||||||
|
|
||||||
#endif //_BIOS_CALLOUT_H_
|
#endif //_BIOS_CALLOUT_H_
|
||||||
|
|
|
@ -30,6 +30,8 @@
|
||||||
#endif
|
#endif
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr);
|
||||||
|
|
||||||
const BIOS_CALLOUT_STRUCT BiosCallouts[] =
|
const BIOS_CALLOUT_STRUCT BiosCallouts[] =
|
||||||
{
|
{
|
||||||
{AGESA_ALLOCATE_BUFFER, agesa_AllocateBuffer },
|
{AGESA_ALLOCATE_BUFFER, agesa_AllocateBuffer },
|
||||||
|
@ -258,7 +260,7 @@ static void oem_fan_control(FCH_DATA_BLOCK *FchParams)
|
||||||
* Configure platform specific Hudson device,
|
* Configure platform specific Hudson device,
|
||||||
* such Azalia, SATA, IMC etc.
|
* such Azalia, SATA, IMC etc.
|
||||||
*/
|
*/
|
||||||
AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr)
|
static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr)
|
||||||
{
|
{
|
||||||
AMD_CONFIG_PARAMS *StdHeader = (AMD_CONFIG_PARAMS *)ConfigPtr;
|
AMD_CONFIG_PARAMS *StdHeader = (AMD_CONFIG_PARAMS *)ConfigPtr;
|
||||||
if (StdHeader->Func == AMD_INIT_RESET) {
|
if (StdHeader->Func == AMD_INIT_RESET) {
|
||||||
|
|
|
@ -23,7 +23,5 @@
|
||||||
#include <northbridge/amd/agesa/def_callouts.h>
|
#include <northbridge/amd/agesa/def_callouts.h>
|
||||||
#include <northbridge/amd/agesa/00730F01/callouts_for_00730F01.h>
|
#include <northbridge/amd/agesa/00730F01/callouts_for_00730F01.h>
|
||||||
|
|
||||||
/* FCH OEM Config*/
|
|
||||||
AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr);
|
|
||||||
|
|
||||||
#endif //_BIOS_CALLOUT_H_
|
#endif //_BIOS_CALLOUT_H_
|
||||||
|
|
|
@ -30,6 +30,8 @@
|
||||||
#endif
|
#endif
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr);
|
||||||
|
|
||||||
const BIOS_CALLOUT_STRUCT BiosCallouts[] =
|
const BIOS_CALLOUT_STRUCT BiosCallouts[] =
|
||||||
{
|
{
|
||||||
{AGESA_ALLOCATE_BUFFER, agesa_AllocateBuffer },
|
{AGESA_ALLOCATE_BUFFER, agesa_AllocateBuffer },
|
||||||
|
@ -189,7 +191,7 @@ static void oem_fan_control(FCH_DATA_BLOCK *FchParams)
|
||||||
* Configure platform specific Hudson device,
|
* Configure platform specific Hudson device,
|
||||||
* such Azalia, SATA, IMC etc.
|
* such Azalia, SATA, IMC etc.
|
||||||
*/
|
*/
|
||||||
AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr)
|
static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr)
|
||||||
{
|
{
|
||||||
AMD_CONFIG_PARAMS *StdHeader = ConfigPtr;
|
AMD_CONFIG_PARAMS *StdHeader = ConfigPtr;
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,5 @@
|
||||||
#include <northbridge/amd/agesa/family15tn/fam15tn_callouts.h>
|
#include <northbridge/amd/agesa/family15tn/fam15tn_callouts.h>
|
||||||
|
|
||||||
|
|
||||||
/* FCH OEM Config*/
|
|
||||||
AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr);
|
|
||||||
|
|
||||||
#endif //_BIOS_CALLOUT_H_
|
#endif //_BIOS_CALLOUT_H_
|
||||||
|
|
|
@ -30,6 +30,8 @@
|
||||||
#endif
|
#endif
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr);
|
||||||
|
|
||||||
const BIOS_CALLOUT_STRUCT BiosCallouts[] =
|
const BIOS_CALLOUT_STRUCT BiosCallouts[] =
|
||||||
{
|
{
|
||||||
{AGESA_ALLOCATE_BUFFER, agesa_AllocateBuffer },
|
{AGESA_ALLOCATE_BUFFER, agesa_AllocateBuffer },
|
||||||
|
@ -189,7 +191,7 @@ static void oem_fan_control(FCH_DATA_BLOCK *FchParams)
|
||||||
* Configure platform specific Hudson device,
|
* Configure platform specific Hudson device,
|
||||||
* such Azalia, SATA, IMC etc.
|
* such Azalia, SATA, IMC etc.
|
||||||
*/
|
*/
|
||||||
AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr)
|
static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr)
|
||||||
{
|
{
|
||||||
FCH_RESET_DATA_BLOCK *FchParams = (FCH_RESET_DATA_BLOCK *)FchData;
|
FCH_RESET_DATA_BLOCK *FchParams = (FCH_RESET_DATA_BLOCK *)FchData;
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,5 @@
|
||||||
#include <northbridge/amd/agesa/family15tn/fam15tn_callouts.h>
|
#include <northbridge/amd/agesa/family15tn/fam15tn_callouts.h>
|
||||||
|
|
||||||
|
|
||||||
/* FCH OEM Config*/
|
|
||||||
AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr);
|
|
||||||
|
|
||||||
#endif //_BIOS_CALLOUT_H_
|
#endif //_BIOS_CALLOUT_H_
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
#include "cbfs.h"
|
#include "cbfs.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr);
|
||||||
|
|
||||||
const BIOS_CALLOUT_STRUCT BiosCallouts[] =
|
const BIOS_CALLOUT_STRUCT BiosCallouts[] =
|
||||||
{
|
{
|
||||||
{AGESA_ALLOCATE_BUFFER, agesa_AllocateBuffer },
|
{AGESA_ALLOCATE_BUFFER, agesa_AllocateBuffer },
|
||||||
|
@ -302,7 +304,7 @@ static void oem_fan_control(FCH_DATA_BLOCK *FchParams)
|
||||||
* Configure platform specific Hudson device,
|
* Configure platform specific Hudson device,
|
||||||
* such Azalia, SATA, IMC etc.
|
* such Azalia, SATA, IMC etc.
|
||||||
*/
|
*/
|
||||||
AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr)
|
static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr)
|
||||||
{
|
{
|
||||||
AMD_CONFIG_PARAMS *StdHeader = ConfigPtr;
|
AMD_CONFIG_PARAMS *StdHeader = ConfigPtr;
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,5 @@
|
||||||
#include <northbridge/amd/agesa/family16kb/fam16kb_callouts.h>
|
#include <northbridge/amd/agesa/family16kb/fam16kb_callouts.h>
|
||||||
|
|
||||||
|
|
||||||
/* FCH OEM Config*/
|
|
||||||
AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr);
|
|
||||||
|
|
||||||
#endif //_BIOS_CALLOUT_H_
|
#endif //_BIOS_CALLOUT_H_
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
#include <vendorcode/amd/agesa/f15tn/Proc/Fch/FchPlatform.h>
|
#include <vendorcode/amd/agesa/f15tn/Proc/Fch/FchPlatform.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr);
|
||||||
|
|
||||||
const BIOS_CALLOUT_STRUCT BiosCallouts[] =
|
const BIOS_CALLOUT_STRUCT BiosCallouts[] =
|
||||||
{
|
{
|
||||||
{AGESA_ALLOCATE_BUFFER, agesa_AllocateBuffer },
|
{AGESA_ALLOCATE_BUFFER, agesa_AllocateBuffer },
|
||||||
|
@ -78,7 +80,7 @@ static const CODEC_TBL_LIST CodecTableList[] =
|
||||||
* Configure platform specific Hudson device,
|
* Configure platform specific Hudson device,
|
||||||
* such Azalia, SATA, GEC, IMC etc.
|
* such Azalia, SATA, GEC, IMC etc.
|
||||||
*/
|
*/
|
||||||
AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr)
|
static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr)
|
||||||
{
|
{
|
||||||
AMD_CONFIG_PARAMS *StdHeader = ConfigPtr;
|
AMD_CONFIG_PARAMS *StdHeader = ConfigPtr;
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,5 @@
|
||||||
#include <northbridge/amd/agesa/family15tn/fam15tn_callouts.h>
|
#include <northbridge/amd/agesa/family15tn/fam15tn_callouts.h>
|
||||||
|
|
||||||
|
|
||||||
/* FCH OEM Config*/
|
|
||||||
AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr);
|
|
||||||
|
|
||||||
#endif //_BIOS_CALLOUT_H_
|
#endif //_BIOS_CALLOUT_H_
|
||||||
|
|
|
@ -26,6 +26,8 @@
|
||||||
#include <vendorcode/amd/agesa/f15tn/Proc/Fch/FchPlatform.h>
|
#include <vendorcode/amd/agesa/f15tn/Proc/Fch/FchPlatform.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr);
|
||||||
|
|
||||||
const BIOS_CALLOUT_STRUCT BiosCallouts[] =
|
const BIOS_CALLOUT_STRUCT BiosCallouts[] =
|
||||||
{
|
{
|
||||||
{AGESA_ALLOCATE_BUFFER, agesa_AllocateBuffer },
|
{AGESA_ALLOCATE_BUFFER, agesa_AllocateBuffer },
|
||||||
|
@ -185,7 +187,7 @@ static void oem_fan_control(FCH_DATA_BLOCK *FchParams)
|
||||||
* Configure platform specific Hudson device,
|
* Configure platform specific Hudson device,
|
||||||
* such Azalia, SATA, IMC etc.
|
* such Azalia, SATA, IMC etc.
|
||||||
*/
|
*/
|
||||||
AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr)
|
static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr)
|
||||||
{
|
{
|
||||||
AMD_CONFIG_PARAMS *StdHeader = ConfigPtr;
|
AMD_CONFIG_PARAMS *StdHeader = ConfigPtr;
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,5 @@
|
||||||
#include <northbridge/amd/agesa/family15tn/fam15tn_callouts.h>
|
#include <northbridge/amd/agesa/family15tn/fam15tn_callouts.h>
|
||||||
|
|
||||||
|
|
||||||
/* FCH OEM Config*/
|
|
||||||
AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr);
|
|
||||||
|
|
||||||
#endif //_BIOS_CALLOUT_H_
|
#endif //_BIOS_CALLOUT_H_
|
||||||
|
|
Loading…
Reference in New Issue