coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
variant.h File Reference
#include <device/device.h>
#include <soc/romstage.h>
#include <stdint.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

int variant_smbios_data (struct device *dev, int *handle, unsigned long *current)
 
void lan_init (void)
 
unsigned int variant_get_spd_index (void)
 
bool variant_is_dual_channel (const unsigned int spd_index)
 

Function Documentation

◆ lan_init()

void lan_init ( void  )

Definition at line 8 of file mainboard.c.

◆ 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, and SPD_GPIO_BIT2.

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 22 of file spd.c.

References spd_index.

◆ variant_smbios_data()

int variant_smbios_data ( struct device dev,
int *  handle,
unsigned long *  current 
)