coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
onboard.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef STUMPY_ONBOARD_H
4 #define STUMPY_ONBOARD_H
5 
6 /* Recovery: GPIO42 = CHP3_REC_MODE#, active low */
7 #define GPIO_REC_MODE 42
8 
9 /* Write Protect: GPIO68 = CHP3_SPI_WP, active high */
10 #define GPIO_SPI_WP 68
11 
12 int get_power_switch(void);
13 
14 #endif
int get_power_switch(void)
Definition: chromeos.c:50