blob: 2217a6c7356047e06689e36ff58d596e49e90f94 [file] [log] [blame]
Patrick Georgiac959032020-05-05 22:49:26 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Tristan Corrick921a4cf2018-08-02 19:41:08 +12002
Arthur Heymansfa5d0f82019-11-12 19:11:50 +01003#include <bootblock_common.h>
Tristan Corrick921a4cf2018-08-02 19:41:08 +12004#include <southbridge/intel/bd82x6x/pch.h>
5#include <superio/nuvoton/common/nuvoton.h>
6#include <superio/nuvoton/nct6776/nct6776.h>
7
8#define SERIAL_DEV PNP_DEV(0x2e, NCT6776_SP1)
9
Arthur Heymansfa5d0f82019-11-12 19:11:50 +010010void bootblock_mainboard_early_init(void)
Tristan Corrick921a4cf2018-08-02 19:41:08 +120011{
12 nuvoton_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
13}