Kyösti Mälkki | 7b73e852 | 2022-11-08 04:43:41 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | |||||
3 | #include <bootblock_common.h> | ||||
4 | #include <superio/smsc/lpc47m10x/lpc47m10x.h> | ||||
5 | |||||
6 | #define SERIAL_DEV PNP_DEV(0x2e, LPC47M10X2_SP1) | ||||
7 | |||||
8 | void bootblock_mainboard_early_init(void) | ||||
9 | { | ||||
10 | /* Get the serial port configured. */ | ||||
11 | lpc47m10x_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE); | ||||
12 | } |