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
>
5
#include <
superio/fintek/common/fintek.h
>
6
#include <
superio/fintek/f81866d/f81866d.h
>
7
8
#define SERIAL_DEV1 PNP_DEV(0x4e, F81866D_SP1)
9
10
void
bootblock_mainboard_early_init
(
void
)
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
}
acpimmio.h
pm_write8
static void pm_write8(uint8_t reg, uint8_t value)
Definition:
acpimmio.h:181
bootblock_common.h
f81866d.h
fintek_enable_serial
void fintek_enable_serial(pnp_devfn_t dev, u16 iobase)
Definition:
early_serial.c:47
fintek.h
bootblock_mainboard_early_init
__weak void bootblock_mainboard_early_init(void)
Definition:
bootblock.c:16
SERIAL_DEV1
#define SERIAL_DEV1
Definition:
bootblock.c:8
src
mainboard
bap
ode_e20XX
bootblock.c
Generated by
1.9.1