coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
variant.h File Reference
#include <types.h>
Include dependency graph for variant.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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

Function Documentation

◆ variant_get_spd_index()

unsigned int variant_get_spd_index ( void  )

Definition at line 11 of file spd.c.

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

Referenced by mainboard_fill_spd_data(), and mb_get_spd_map().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ variant_is_dual_channel()

bool variant_is_dual_channel ( const unsigned int  spd_index)

Definition at line 22 of file spd.c.

References spd_index.

Referenced by mainboard_fill_spd_data(), and mb_get_spd_map().

Here is the caller graph for this function: