coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
spd_util.c File Reference
Include dependency graph for spd_util.c:

Go to the source code of this file.

Functions

int get_variant_spd_index (int ram_id, int *dual)
 

Variables

static const uint32_t dual_channel_config
 

Function Documentation

◆ get_variant_spd_index()

int get_variant_spd_index ( int  ram_id,
int *  dual 
)

Definition at line 21 of file spd_util.c.

References BIOS_DEBUG, dual_channel_config, and printk.

Variable Documentation

◆ dual_channel_config

const uint32_t dual_channel_config
static
Initial value:
=
(1 << 0) | (1 << 2) | (1 << 4) | (1 << 6)

Definition at line 18 of file spd_util.c.

Referenced by get_spd_pointer(), and get_variant_spd_index().