coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mainboard.c File Reference
#include <device/device.h>
#include <drivers/intel/gma/int15.h>
#include "ec.h"
#include "variant.h"
Include dependency graph for mainboard.c:

Go to the source code of this file.

Functions

__weak void lan_init (void)
 
static void mainboard_init (struct device *dev)
 
static int mainboard_smbios_data (struct device *dev, int *handle, unsigned long *current)
 
static void mainboard_enable (struct device *dev)
 

Variables

struct chip_operations mainboard_ops
 

Function Documentation

◆ lan_init()

__weak void lan_init ( void  )

Definition at line 8 of file mainboard.c.

Referenced by mainboard_init().

Here is the caller graph for this function:

◆ mainboard_enable()

static void mainboard_enable ( struct device dev)
static

◆ mainboard_init()

static void mainboard_init ( struct device dev)
static

Definition at line 12 of file mainboard.c.

References lan_init(), and mainboard_ec_init().

Referenced by mainboard_enable().

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

◆ mainboard_smbios_data()

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

Definition at line 18 of file mainboard.c.

References variant_smbios_data().

Referenced by mainboard_enable().

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

Variable Documentation

◆ mainboard_ops

struct chip_operations mainboard_ops
Initial value:
= {
.enable_dev = mainboard_enable,
}
static void mainboard_enable(struct device *dev)
Definition: mainboard.c:27

Definition at line 27 of file mainboard.c.