Keith Hui | 5d8ad85 | 2020-02-02 00:26:59 -0500 | [diff] [blame^] | 1 | /* 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 | |||||
10 | void bootblock_mainboard_early_init(void) | ||||
11 | { | ||||
12 | winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE); | ||||
13 | } |