coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_serial.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #include <device/pnp_type.h>
5 #include "it8718f.h"
6 
7 /*
8  * GIGABYTE uses a special Super I/O register to protect its Dual BIOS
9  * mechanism. It lives in the GPIO LDN. However, register 0xEF is not
10  * mentioned in the IT8718F datasheet so just hardcode it to 0x7E for now.
11  */
13 {
14  ite_reg_write(dev, 0xEF, 0x7E);
15 }
void ite_reg_write(pnp_devfn_t dev, u8 reg, u8 value)
Definition: early_serial.c:41
void it8718f_disable_reboot(pnp_devfn_t dev)
Definition: early_serial.c:12
u32 pnp_devfn_t
Definition: pnp_type.h:8