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_cfgvariant_memory_params (void)
 
int variant_memory_sku (void)
 

Variables

static const struct mb_cfg baseboard_memcfg
 

Function Documentation

◆ variant_memory_params()

const struct mb_cfg* variant_memory_params ( void  )

Definition at line 11 of file memory.c.

References baseboard_memcfg.

◆ variant_memory_sku()

int variant_memory_sku ( void  )

Definition at line 16 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
Initial value:
= {
.type = MEM_TYPE_DDR4,
}
@ MEM_TYPE_DDR4
Definition: meminit.h:11

Definition at line 1 of file memory.c.

Referenced by variant_memory_params().