mb/supermicro/x11-lga1151-series: use new console delay Kconfig option
This replaces the hardcoded delay by the new Kconfig option. Change-Id: I8bf4ef7ad9beea7b3dc22e1567623a423597eff9 Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36592 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
parent
4d877c8c7f
commit
403b70adb9
|
@ -13,6 +13,7 @@ config BOARD_SUPERMICRO_BASEBOARD_X11_LGA1151_SERIES
|
|||
select GENERATE_SMBIOS_TABLES
|
||||
select IPMI_KCS
|
||||
select MAINBOARD_NO_FSP_GOP
|
||||
select SUPERIO_ASPEED_HAS_UART_DELAY_WORKAROUND
|
||||
|
||||
if BOARD_SUPERMICRO_BASEBOARD_X11_LGA1151_SERIES
|
||||
|
||||
|
|
|
@ -32,13 +32,8 @@ static void early_config_gpio(void)
|
|||
static void early_config_superio(void)
|
||||
{
|
||||
const pnp_devfn_t serial_dev = PNP_DEV(0x2e, AST2400_SUART1);
|
||||
if (CONFIG(CONSOLE_SERIAL)) {
|
||||
if (CONFIG(CONSOLE_SERIAL))
|
||||
aspeed_enable_serial(serial_dev, CONFIG_TTYS0_BASE);
|
||||
/* The serial output is garbeled before this timeout.
|
||||
* FIXME: Find out why and remove delay.
|
||||
*/
|
||||
mdelay(1000);
|
||||
}
|
||||
}
|
||||
|
||||
void bootblock_mainboard_early_init(void)
|
||||
|
|
Loading…
Reference in New Issue