1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <bootblock_common.h>
4 #include <mainboard/gpio.h>
5 #include <superio/aspeed/common/aspeed.h>
6 #include <superio/aspeed/ast2400/ast2400.h>
7 #include <console/uart.h>
9 static void early_config_superio(void)
11 const pnp_devfn_t serial_dev
= PNP_DEV(0x2e, AST2400_SUART1
);
12 aspeed_enable_serial(serial_dev
, CONFIG_TTYS0_BASE
);
15 void bootblock_mainboard_early_init(void)
17 mainboard_configure_early_gpios();
18 early_config_superio();