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 <soc/romstage.h>
Include dependency graph for memory.c:

Go to the source code of this file.

Functions

const struct mb_cfgvariant_memory_params (void)
 
int variant_memory_sku (void)
 
bool variant_is_half_populated (void)
 

Variables

static const struct mb_cfg baseboard_memcfg
 

Function Documentation

◆ variant_is_half_populated()

bool variant_is_half_populated ( void  )

Definition at line 93 of file memory.c.

References gpio_get(), and GPP_E5.

Here is the call graph for this function:

◆ variant_memory_params()

const struct mb_cfg* variant_memory_params ( void  )

Definition at line 69 of file memory.c.

References baseboard_memcfg.

◆ variant_memory_sku()

int variant_memory_sku ( void  )

Definition at line 74 of file memory.c.

References ARRAY_SIZE, gpio_base2_value(), GPP_E1, GPP_E2, GPP_E3, and GPP_E7.

Here is the call graph for this function:

Variable Documentation

◆ baseboard_memcfg

const struct mb_cfg baseboard_memcfg
static

Definition at line 1 of file memory.c.

Referenced by variant_memory_params().