coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ite.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #ifndef SUPERIO_ITE_COMMON_PRE_RAM_H
4 #define SUPERIO_ITE_COMMON_PRE_RAM_H
5 
6 #include <device/pnp_type.h>
7 #include <stdint.h>
8 
9 #define ITE_UART_CLK_PREDIVIDE_48 0x00 /* default */
10 #define ITE_UART_CLK_PREDIVIDE_24 0x01
11 
12 void ite_conf_clkin(pnp_devfn_t dev, u8 predivide);
13 void ite_enable_serial(pnp_devfn_t dev, u16 iobase);
14 
15 /* Some boards need to init wdt+gpio's very early */
16 void ite_reg_write(pnp_devfn_t dev, u8 reg, u8 value);
20 
23 
24 #endif /* SUPERIO_ITE_COMMON_PRE_RAM_H */
pte_t value
Definition: mmu.c:91
void ite_delay_pwrgd3(pnp_devfn_t dev)
Definition: early_serial.c:112
void ite_enable_serial(pnp_devfn_t dev, u16 iobase)
Definition: early_serial.c:61
void ite_reg_write(pnp_devfn_t dev, u8 reg, u8 value)
Definition: early_serial.c:41
void pnp_exit_conf_state(pnp_devfn_t dev)
Definition: early_serial.c:38
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 pnp_enter_conf_state(pnp_devfn_t dev)
Definition: early_serial.c:30
void ite_enable_3vsbsw(pnp_devfn_t dev)
Definition: early_serial.c:85
u32 pnp_devfn_t
Definition: pnp_type.h:8
uint16_t u16
Definition: stdint.h:48
uint8_t u8
Definition: stdint.h:45