1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <amdblocks/acpimmio.h>
4 #include <bootblock_common.h>
5 #include <superio/fintek/common/fintek.h>
6 #include <superio/fintek/f81866d/f81866d.h>
8 #define SERIAL_DEV1 PNP_DEV(0x4e, F81866D_SP1)
10 void bootblock_mainboard_early_init(void)
12 /* Disable PCI-PCI bridge and release GPIO32/33 for other uses. */
15 fintek_enable_serial(SERIAL_DEV1
, CONFIG_TTYS0_BASE
);