coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
BiosCallOuts.c File Reference
#include <console/console.h>
#include <AGESA.h>
#include <spd_bin.h>
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <SB800.h>
#include "gpio_ftns.h"
Include dependency graph for BiosCallOuts.c:

Go to the source code of this file.

Functions

static AGESA_STATUS board_BeforeDramInit (UINT32 Func, UINTN Data, VOID *ConfigPtr)
 
static AGESA_STATUS board_ReadSpd_from_cbfs (UINT32 Func, UINTN Data, VOID *ConfigPtr)
 

Variables

const BIOS_CALLOUT_STRUCT BiosCallouts []
 
const int BiosCalloutsLen = ARRAY_SIZE(BiosCallouts)
 

Function Documentation

◆ board_BeforeDramInit()

static AGESA_STATUS board_BeforeDramInit ( UINT32  Func,
UINTN  Data,
VOID *  ConfigPtr 
)
static

Definition at line 29 of file BiosCallOuts.c.

References AGESA_SUCCESS.

◆ board_ReadSpd_from_cbfs()

static AGESA_STATUS board_ReadSpd_from_cbfs ( UINT32  Func,
UINTN  Data,
VOID *  ConfigPtr 
)
static

Definition at line 37 of file BiosCallOuts.c.

References AGESA_SUCCESS, AGESA_UNSUPPORTED, die(), ENV_ROMSTAGE, get_spd_offset(), info, and read_ddr3_spd_from_cbfs().

Here is the call graph for this function:

Variable Documentation

◆ BiosCallouts

const BIOS_CALLOUT_STRUCT BiosCallouts[]
Initial value:
=
{
{AGESA_DO_RESET, agesa_Reset },
{AGESA_READ_SPD, board_ReadSpd_from_cbfs },
{AGESA_READ_SPD_RECOVERY, agesa_NoopUnsupported },
{AGESA_RUNFUNC_ONAP, agesa_RunFuncOnAp },
{AGESA_GNB_PCIE_SLOT_RESET, agesa_NoopSuccess },
{AGESA_HOOKBEFORE_DRAM_INIT, board_BeforeDramInit },
{AGESA_HOOKBEFORE_DRAM_INIT_RECOVERY, agesa_NoopSuccess },
{AGESA_HOOKBEFORE_DQS_TRAINING, agesa_NoopSuccess },
{AGESA_HOOKBEFORE_EXIT_SELF_REF, agesa_NoopSuccess },
}
AGESA_STATUS agesa_RunFuncOnAp(UINT32 Func, UINTN Data, VOID *ConfigPtr)
Definition: def_callouts.c:102
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
static AGESA_STATUS board_ReadSpd_from_cbfs(UINT32 Func, UINTN Data, VOID *ConfigPtr)
Definition: BiosCallOuts.c:37
static AGESA_STATUS board_BeforeDramInit(UINT32 Func, UINTN Data, VOID *ConfigPtr)
Definition: BiosCallOuts.c:29

Definition at line 14 of file BiosCallOuts.c.

◆ BiosCalloutsLen

const int BiosCalloutsLen = ARRAY_SIZE(BiosCallouts)

Definition at line 26 of file BiosCallOuts.c.