coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
BiosCallOuts.c File Reference
#include <AGESA.h>
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <northbridge/amd/agesa/state_machine.h>
#include <vendorcode/amd/agesa/f15tn/Proc/Fch/FchPlatform.h>
Include dependency graph for BiosCallOuts.c:

Go to the source code of this file.

Functions

void board_FCH_InitReset (struct sysinfo *cb_NA, FCH_RESET_DATA_BLOCK *FchParams_reset)
 
void board_FCH_InitEnv (struct sysinfo *cb_NA, FCH_DATA_BLOCK *FchParams_env)
 

Variables

const BIOS_CALLOUT_STRUCT BiosCallouts []
 
const int BiosCalloutsLen = ARRAY_SIZE(BiosCallouts)
 
const CODEC_ENTRY f2a85_m_alc887_VerbTbl []
 ASUS F2A85-M board ALC887-VD Verb Table. More...
 
static const CODEC_TBL_LIST CodecTableList []
 

Function Documentation

◆ board_FCH_InitEnv()

void board_FCH_InitEnv ( struct sysinfo cb_NA,
FCH_DATA_BLOCK *  FchParams_env 
)

Definition at line 77 of file BiosCallOuts.c.

References CodecTableList.

◆ board_FCH_InitReset()

void board_FCH_InitReset ( struct sysinfo cb_NA,
FCH_RESET_DATA_BLOCK *  FchParams_reset 
)

Definition at line 72 of file BiosCallOuts.c.

References CONFIG.

Variable Documentation

◆ BiosCallouts

const BIOS_CALLOUT_STRUCT BiosCallouts[]
Initial value:
=
{
{AGESA_DO_RESET, agesa_Reset },
{AGESA_READ_SPD, agesa_ReadSpd },
{AGESA_READ_SPD_RECOVERY, agesa_NoopUnsupported },
{AGESA_RUNFUNC_ONAP, agesa_RunFuncOnAp },
{AGESA_GET_IDS_INIT_DATA, agesa_EmptyIdsInitData },
{AGESA_HOOKBEFORE_DQS_TRAINING, agesa_NoopSuccess },
{AGESA_HOOKBEFORE_EXIT_SELF_REF, agesa_NoopSuccess },
{AGESA_GNB_GFX_GET_VBIOS_IMAGE, agesa_GfxGetVbiosImage }
}
AGESA_STATUS agesa_RunFuncOnAp(UINT32 Func, UINTN Data, VOID *ConfigPtr)
Definition: def_callouts.c:102
AGESA_STATUS agesa_EmptyIdsInitData(UINT32 Func, UINTN Data, VOID *ConfigPtr)
Definition: def_callouts.c:58
AGESA_STATUS agesa_NoopUnsupported(UINT32 Func, UINTN Data, VOID *ConfigPtr)
Definition: def_callouts.c:48
AGESA_STATUS agesa_NoopSuccess(UINT32 Func, UINTN Data, VOID *ConfigPtr)
Definition: def_callouts.c:53
AGESA_STATUS agesa_Reset(UINT32 Func, UINTN Data, VOID *ConfigPtr)
Definition: def_callouts.c:66
AGESA_STATUS agesa_GfxGetVbiosImage(UINT32 Func, UINTN FchData, VOID *ConfigPrt)
AGESA_STATUS agesa_ReadSpd(uint32_t Func, uintptr_t Data, void *ConfigPtr)
Definition: BiosCallOuts.c:81

Definition at line 9 of file BiosCallOuts.c.

◆ BiosCalloutsLen

const int BiosCalloutsLen = ARRAY_SIZE(BiosCallouts)

Definition at line 20 of file BiosCallOuts.c.

◆ CodecTableList

const CODEC_TBL_LIST CodecTableList[]
static
Initial value:
=
{
{0x10ec0887, (CODEC_ENTRY*)&f2a85_m_alc887_VerbTbl[0]},
{(UINT32)0x0FFFFFFFF, (CODEC_ENTRY*)0x0FFFFFFFFUL}
}
const CODEC_ENTRY f2a85_m_alc887_VerbTbl[]
ASUS F2A85-M board ALC887-VD Verb Table.
Definition: BiosCallOuts.c:29

Definition at line 66 of file BiosCallOuts.c.

Referenced by board_FCH_InitEnv().

◆ f2a85_m_alc887_VerbTbl

const CODEC_ENTRY f2a85_m_alc887_VerbTbl[]
Initial value:
= {
{0x11, 0x99430140},
{0x12, 0x411111f0},
{0x14, 0x01014010},
{0x15, 0x01011012},
{0x16, 0x01016011},
{0x17, 0x01012014},
{0x18, 0x01a19850},
{0x19, 0x02a19c60},
{0x1a, 0x0181305f},
{0x1b, 0x02214c20},
{0x1c, 0x411111f0},
{0x1d, 0x4005e601},
{0x1e, 0x01456130},
{0x1f, 0x411111f0},
{0xff, 0xffffffff}
}

ASUS F2A85-M board ALC887-VD Verb Table.

Copied from /sys/class/sound/hwC1D0/init_pin_configs when running the vendor BIOS.

Definition at line 29 of file BiosCallOuts.c.