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 <amdblocks/acpimmio.h>
4 #include <bootblock_common.h>
7 
8 #define SERIAL_DEV1 PNP_DEV(0x4e, F81866D_SP1)
9 
11 {
12  /* Disable PCI-PCI bridge and release GPIO32/33 for other uses. */
13  pm_write8(0xea, 0x1);
14 
15  fintek_enable_serial(SERIAL_DEV1, CONFIG_TTYS0_BASE);
16 }
static void pm_write8(uint8_t reg, uint8_t value)
Definition: acpimmio.h:181
void fintek_enable_serial(pnp_devfn_t dev, u16 iobase)
Definition: early_serial.c:47
__weak void bootblock_mainboard_early_init(void)
Definition: bootblock.c:16
#define SERIAL_DEV1
Definition: bootblock.c:8