coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
chromeos.c File Reference
#include <baseboard/gpio.h>
#include <boot/coreboot_tables.h>
#include <bootmode.h>
#include <gpio.h>
#include <vendorcode/google/chromeos/chromeos.h>
Include dependency graph for chromeos.c:

Go to the source code of this file.

Functions

void fill_lb_gpios (struct lb_gpios *gpios)
 
 DECLARE_CROS_GPIOS (cros_gpios)
 

Variables

static const struct cros_gpio cros_gpios []
 

Function Documentation

◆ DECLARE_CROS_GPIOS()

DECLARE_CROS_GPIOS ( cros_gpios  )

◆ fill_lb_gpios()

void fill_lb_gpios ( struct lb_gpios gpios)

Definition at line 9 of file chromeos.c.

Variable Documentation

◆ cros_gpios

const struct cros_gpio cros_gpios[]
static
Initial value:
= {
CROS_GPIO_REC_AL(CROS_GPIO_VIRTUAL, GPIO_DEVICE_NAME),
CROS_GPIO_WP_AL(CROS_WP_GPIO, GPIO_DEVICE_NAME),
}
#define CROS_WP_GPIO
Definition: onboard.h:7
#define GPIO_DEVICE_NAME
Definition: gpio.h:6

Definition at line 9 of file chromeos.c.