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)
 

Variables

static const struct mb_cfg baseboard_memcfg
 

Function Documentation

◆ variant_memory_params()

const struct mb_cfg* __weak variant_memory_params ( void  )

Definition at line 59 of file memory.c.

References baseboard_memcfg.

◆ variant_memory_sku()

int __weak variant_memory_sku ( void  )

Definition at line 64 of file memory.c.

References ARRAY_SIZE, gpio_base2_value(), GPIO_MEM_CONFIG_0, GPIO_MEM_CONFIG_1, GPIO_MEM_CONFIG_2, and GPIO_MEM_CONFIG_3.

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().