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 <mainboard/ec.h>
Include dependency graph for mainboard.c:

Go to the source code of this file.

Functions

static void mainboard_dev_init (struct device *dev)
 
static void mainboard_enable (struct device *dev)
 

Variables

struct chip_operations mainboard_ops
 

Function Documentation

◆ mainboard_dev_init()

static void mainboard_dev_init ( struct device dev)
static

Definition at line 6 of file mainboard.c.

References CONFIG, and ec_enable_devices().

Referenced by mainboard_enable().

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

◆ mainboard_enable()

static void mainboard_enable ( struct device dev)
static

Definition at line 13 of file mainboard.c.

References device_operations::init, mainboard_dev_init(), and device::ops.

Here is the call 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:13

Definition at line 13 of file mainboard.c.