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-only */
2 
3 #include <bootblock_common.h>
4 #include <mainboard/gpio.h>
7 #include <console/uart.h>
8 
9 static void early_config_superio(void)
10 {
11  const pnp_devfn_t serial_dev = PNP_DEV(0x2e, AST2400_SUART1);
12  aspeed_enable_serial(serial_dev, CONFIG_TTYS0_BASE);
13 }
14 
16 {
19 }
void aspeed_enable_serial(pnp_devfn_t dev, uint16_t iobase)
Definition: early_serial.c:45
#define AST2400_SUART1
Definition: ast2400.h:6
__weak void bootblock_mainboard_early_init(void)
Definition: bootblock.c:16
static void early_config_superio(void)
Definition: bootblock.c:9
void mainboard_configure_early_gpios(void)
Definition: gpio_early.c:19
#define PNP_DEV(PORT, FUNC)
Definition: pnp_type.h:10
u32 pnp_devfn_t
Definition: pnp_type.h:8