coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
bootblock.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #include <bootblock_common.h>
6 
7 #define GPIO_DEV PNP_DEV(0x2e, IT8772F_GPIO)
8 #define UART_DEV PNP_DEV(0x2e, IT8772F_SP1)
9 
11 {
15  ite_enable_serial(UART_DEV, CONFIG_TTYS0_BASE);
16 }
void ite_enable_serial(pnp_devfn_t dev, u16 iobase)
Definition: early_serial.c:61
void ite_kill_watchdog(pnp_devfn_t dev)
Definition: early_serial.c:129
void ite_conf_clkin(pnp_devfn_t dev, u8 predivide)
Definition: early_serial.c:55
void ite_enable_3vsbsw(pnp_devfn_t dev)
Definition: early_serial.c:85
#define ITE_UART_CLK_PREDIVIDE_24
Definition: ite.h:10
__weak void bootblock_mainboard_early_init(void)
Definition: bootblock.c:16
#define GPIO_DEV
Definition: bootblock.c:7
#define UART_DEV
Definition: bootblock.c:8