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

Go to the source code of this file.

Macros

#define SPD_GPIO_BIT0   69
 
#define SPD_GPIO_BIT1   68
 
#define SPD_GPIO_BIT2   67
 
#define SPD_GPIO_BIT3   65
 

Functions

unsigned int variant_get_spd_index (void)
 
bool variant_is_dual_channel (const unsigned int spd_index)
 

Macro Definition Documentation

◆ SPD_GPIO_BIT0

#define SPD_GPIO_BIT0   69

Definition at line 7 of file spd.c.

◆ SPD_GPIO_BIT1

#define SPD_GPIO_BIT1   68

Definition at line 8 of file spd.c.

◆ SPD_GPIO_BIT2

#define SPD_GPIO_BIT2   67

Definition at line 9 of file spd.c.

◆ SPD_GPIO_BIT3

#define SPD_GPIO_BIT3   65

Definition at line 10 of file spd.c.

Function Documentation

◆ variant_get_spd_index()

unsigned int variant_get_spd_index ( void  )

Definition at line 12 of file spd.c.

References get_gpios(), SPD_GPIO_BIT0, SPD_GPIO_BIT1, SPD_GPIO_BIT2, and SPD_GPIO_BIT3.

Here is the call graph for this function:

◆ variant_is_dual_channel()

bool variant_is_dual_channel ( const unsigned int  spd_index)

Definition at line 24 of file spd.c.