Debian Codegraph @

src/mainboard/gigabyte/ga-h81m-d2w/bootblock.c

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #include <southbridge/intel/lynxpoint/pch.h>
4
5 #include <device/pnp_ops.h>
6 #include <superio/ite/common/ite.h>
7 #include <superio/ite/it8625e/it8625e.h>
8
9 #define UART_DEV PNP_DEV(0x2e, 0x1)
10 #define SIO_GPIO PNP_DEV(0x2e, IT8625E_GPIO)
11
12 void mainboard_config_superio(void)
13 {
14 ite_enable_serial(UART_DEV, CONFIG_TTYS0_BASE);
15 ite_reg_write(SIO_GPIO, 0xEF, 0x7E); // magic SIO disable reboot
16 }