blob: 18eff0735598d9ac8bcf95e2a383320f9629aa8d [file] [log] [blame]
Keith Hui5d8ad852020-02-02 00:26:59 -05001/* SPDX-License-Identifier: GPL-2.0-or-later */
2/* This file is part of the coreboot project. */
3
4#include <bootblock_common.h>
5#include <superio/winbond/common/winbond.h>
6#include <superio/winbond/w83977tf/w83977tf.h>
7
8#define SERIAL_DEV PNP_DEV(0x3f0, W83977TF_SP1)
9
10void bootblock_mainboard_early_init(void)
11{
12 winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
13}