Patrick Georgi | ac95903 | 2020-05-05 22:49:26 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Tristan Corrick | 921a4cf | 2018-08-02 19:41:08 +1200 | [diff] [blame] | 2 | |
Arthur Heymans | fa5d0f8 | 2019-11-12 19:11:50 +0100 | [diff] [blame] | 3 | #include <bootblock_common.h> |
Tristan Corrick | 921a4cf | 2018-08-02 19:41:08 +1200 | [diff] [blame] | 4 | #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 Heymans | fa5d0f8 | 2019-11-12 19:11:50 +0100 | [diff] [blame] | 10 | void bootblock_mainboard_early_init(void) |
Tristan Corrick | 921a4cf | 2018-08-02 19:41:08 +1200 | [diff] [blame] | 11 | { |
| 12 | nuvoton_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE); |
| 13 | } |