| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <southbridge/intel/lynxpoint/pch.h> |
| 4 | #include <superio/nuvoton/npcd378/npcd378.h> |
| 5 | #include <superio/nuvoton/common/nuvoton.h> |
| 6 | |
| 7 | #define SERIAL_DEV PNP_DEV(0x2e, NPCD378_SP2) |
| 8 | |
| 9 | void mainboard_config_superio(void) |
| 10 | { |
| 11 | if (CONFIG(CONSOLE_SERIAL)) |
| 12 | nuvoton_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE); |
| 13 | } |