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

Go to the source code of this file.

Macros

#define GPIO_EC_IN_RW   GPIO(156)
 
#define GPIO_AP_EC_INT   GPIO(18)
 
#define GPIO_H1_AP_INT   GPIO(104)
 
#define GPIO_SD_CD_L   GPIO(91)
 
#define USB_HUB_LDO_EN   GPIO(157)
 
#define GPIO_AMP_ENABLE   GPIO(63)
 
#define GPIO_MI2S1_SCK   GPIO(106)
 
#define GPIO_MI2S1_DATA0   GPIO(107)
 
#define GPIO_MI2S1_WS   GPIO(108)
 
#define QCOM_SC7280_SKU1   0x0
 
#define QCOM_SC7280_SKU2   0x1
 
#define GPIO_FPMCU_BOOT0   dead_code_t(gpio_t)
 
#define GPIO_FP_RST_L   dead_code_t(gpio_t)
 
#define GPIO_EN_FP_RAILS   dead_code_t(gpio_t)
 

Functions

void setup_chromeos_gpios (void)
 

Macro Definition Documentation

◆ GPIO_AMP_ENABLE

#define GPIO_AMP_ENABLE   GPIO(63)

Definition at line 33 of file board.h.

◆ GPIO_AP_EC_INT

#define GPIO_AP_EC_INT   GPIO(18)

Definition at line 20 of file board.h.

◆ GPIO_EC_IN_RW

#define GPIO_EC_IN_RW   GPIO(156)

Definition at line 19 of file board.h.

◆ GPIO_EN_FP_RAILS

#define GPIO_EN_FP_RAILS   dead_code_t(gpio_t)

Definition at line 49 of file board.h.

◆ GPIO_FP_RST_L

#define GPIO_FP_RST_L   dead_code_t(gpio_t)

Definition at line 48 of file board.h.

◆ GPIO_FPMCU_BOOT0

#define GPIO_FPMCU_BOOT0   dead_code_t(gpio_t)

Definition at line 47 of file board.h.

◆ GPIO_H1_AP_INT

#define GPIO_H1_AP_INT   GPIO(104)

Definition at line 21 of file board.h.

◆ GPIO_MI2S1_DATA0

#define GPIO_MI2S1_DATA0   GPIO(107)

Definition at line 35 of file board.h.

◆ GPIO_MI2S1_SCK

#define GPIO_MI2S1_SCK   GPIO(106)

Definition at line 34 of file board.h.

◆ GPIO_MI2S1_WS

#define GPIO_MI2S1_WS   GPIO(108)

Definition at line 36 of file board.h.

◆ GPIO_SD_CD_L

#define GPIO_SD_CD_L   GPIO(91)

Definition at line 24 of file board.h.

◆ QCOM_SC7280_SKU1

#define QCOM_SC7280_SKU1   0x0

Definition at line 38 of file board.h.

◆ QCOM_SC7280_SKU2

#define QCOM_SC7280_SKU2   0x1

Definition at line 39 of file board.h.

◆ USB_HUB_LDO_EN

#define USB_HUB_LDO_EN   GPIO(157)

Definition at line 30 of file board.h.

Function Documentation

◆ setup_chromeos_gpios()

void setup_chromeos_gpios ( void  )

Definition at line 10 of file chromeos.c.