1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 3 #include <device/pnp_type.h> 4 #include <superio/ite/common/ite.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 */ it8718f_disable_reboot(pnp_devfn_t dev)12void it8718f_disable_reboot(pnp_devfn_t dev) 13 { 14 ite_reg_write(dev, 0xEF, 0x7E); 15 } 16