coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
OemCustomize.c File Reference
#include <soc/amd/stoneyridge/chip.h>
#include <amdblocks/agesawrapper.h>
#include <gpio.h>
#include <console/console.h>
#include <soc/pci_devs.h>
Include dependency graph for OemCustomize.c:

Go to the source code of this file.

Macros

#define DIMMS_PER_CHANNEL   1
 

Functions

void OemPostParams (AMD_POST_PARAMS *PostParams)
 
void set_board_env_params (GNB_ENV_CONFIGURATION *params)
 

Variables

static const PSO_ENTRY DDR4PlatformMemoryConfiguration []
 
static const PSO_ENTRY DDR4_2T_MemoryConfiguration []
 

Macro Definition Documentation

◆ DIMMS_PER_CHANNEL

#define DIMMS_PER_CHANNEL   1

Definition at line 9 of file OemCustomize.c.

Function Documentation

◆ OemPostParams()

void OemPostParams ( AMD_POST_PARAMS *  PostParams)

◆ set_board_env_params()

void set_board_env_params ( GNB_ENV_CONFIGURATION *  params)

Variable Documentation

◆ DDR4_2T_MemoryConfiguration

const PSO_ENTRY DDR4_2T_MemoryConfiguration[]
static
Initial value:
= {
DRAM_TECHNOLOGY(ANY_SOCKET, DDR4_TECHNOLOGY),
NUMBER_OF_DIMMS_SUPPORTED(ANY_SOCKET, ANY_CHANNEL, DIMMS_PER_CHANNEL),
NUMBER_OF_CHANNELS_SUPPORTED(ANY_SOCKET, MAX_DRAM_CH),
MOTHER_BOARD_LAYERS(LAYERS_6),
MEMCLK_DIS_MAP(ANY_SOCKET, ANY_CHANNEL,
0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00),
CKE_TRI_MAP(ANY_SOCKET, ANY_CHANNEL, 0xff, 0xff, 0xff, 0xff),
ODT_TRI_MAP(ANY_SOCKET, ANY_CHANNEL, 0xff, 0xff, 0xff, 0xff),
CS_TRI_MAP(ANY_SOCKET, ANY_CHANNEL,
0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00),
TBLDRV_CONFIG_TO_OVERRIDE(DIMMS_PER_CHANNEL, ANY_SPEED, VOLT_ANY_,
ANY_),
TBLDRV_CONFIG_ENTRY_SLOWACCMODE(1),
PSO_END
}
#define DIMMS_PER_CHANNEL
Definition: OemCustomize.c:9
#define MAX_DRAM_CH
Definition: chip.h:19

Definition at line 28 of file OemCustomize.c.

Referenced by OemPostParams().

◆ DDR4PlatformMemoryConfiguration

const PSO_ENTRY DDR4PlatformMemoryConfiguration[]
static
Initial value:
= {
DRAM_TECHNOLOGY(ANY_SOCKET, DDR4_TECHNOLOGY),
NUMBER_OF_DIMMS_SUPPORTED(ANY_SOCKET, ANY_CHANNEL, DIMMS_PER_CHANNEL),
NUMBER_OF_CHANNELS_SUPPORTED(ANY_SOCKET, MAX_DRAM_CH),
MOTHER_BOARD_LAYERS(LAYERS_6),
MEMCLK_DIS_MAP(ANY_SOCKET, ANY_CHANNEL,
0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00),
CKE_TRI_MAP(ANY_SOCKET, ANY_CHANNEL, 0xff, 0xff, 0xff, 0xff),
ODT_TRI_MAP(ANY_SOCKET, ANY_CHANNEL, 0xff, 0xff, 0xff, 0xff),
CS_TRI_MAP(ANY_SOCKET, ANY_CHANNEL,
0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00),
PSO_END
}

Definition at line 14 of file OemCustomize.c.

Referenced by OemPostParams().