coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
memory.c File Reference
#include <baseboard/gpio.h>
#include <baseboard/variants.h>
#include <gpio.h>
Include dependency graph for memory.c:

Go to the source code of this file.

Functions

const struct mb_cfg *__weak variant_memory_params (void)
 
int __weak variant_memory_sku (void)
 
bool __weak variant_is_half_populated (void)
 
void __weak variant_get_spd_info (struct mem_spd *spd_info)
 

Variables

static const struct mb_cfg baseboard_memcfg
 

Function Documentation

◆ variant_get_spd_info()

void __weak variant_get_spd_info ( struct mem_spd spd_info)

Definition at line 99 of file memory.c.

References MEM_TOPO_MEMORY_DOWN, and variant_memory_sku().

Here is the call graph for this function:

◆ variant_is_half_populated()

bool __weak variant_is_half_populated ( void  )

Definition at line 93 of file memory.c.

References gpio_get(), and GPP_E13.

Here is the call graph for this function:

◆ variant_memory_params()

const struct mb_cfg* __weak variant_memory_params ( void  )

Definition at line 69 of file memory.c.

References baseboard_memcfg.

◆ variant_memory_sku()

Variable Documentation

◆ baseboard_memcfg

const struct mb_cfg baseboard_memcfg
static

Definition at line 1 of file memory.c.

Referenced by variant_memory_params().