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 <amdlib.h>
#include <amdblocks/acpimmio.h>
#include <northbridge/amd/agesa/BiosCallOuts.h>
#include <SB800.h>
#include <southbridge/amd/cimx/sb800/gpio_oem.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_GnbPcieSlotReset (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 28 of file BiosCallOuts.c.

References acpimmio_gpio_100, AGESA_SUCCESS, BIT2, BIT3, BIT4, BIT5, and BIT6.

◆ board_GnbPcieSlotReset()

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

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_GNB_PCIE_SLOT_RESET, board_GnbPcieSlotReset },
{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_BeforeDramInit(UINT32 Func, UINTN Data, VOID *ConfigPtr)
Definition: BiosCallOuts.c:28
static AGESA_STATUS board_GnbPcieSlotReset(UINT32 Func, UINTN Data, VOID *ConfigPtr)
Definition: BiosCallOuts.c:99
AGESA_STATUS agesa_ReadSpd(uint32_t Func, uintptr_t Data, void *ConfigPtr)
Definition: BiosCallOuts.c:81

Definition at line 13 of file BiosCallOuts.c.

◆ BiosCalloutsLen

const int BiosCalloutsLen = ARRAY_SIZE(BiosCallouts)

Definition at line 25 of file BiosCallOuts.c.