summaryrefslogtreecommitdiff
path: root/src/superio/aspeed/common/Kconfig
blob: f10c7be8dcf29faddef952a8c9781be79575a939 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# SPDX-License-Identifier: GPL-2.0-only
# This file is part of the coreboot project.

# Generic Aspeed preram driver - Just enough UART initialisation code for
# preram phase.
config SUPERIO_ASPEED_COMMON_PRE_RAM
	bool
	default n

config SUPERIO_ASPEED_HAS_UART_DELAY_WORKAROUND
	bool
	default n

config SUPERIO_ASPEED_USE_UART_DELAY_WORKAROUND
	bool "Workaround for BMC serial console setup bug"
	depends on CONSOLE_SERIAL && SUPERIO_ASPEED_HAS_UART_DELAY_WORKAROUND
	default y
	help
	  Some mainboards with an ASPEED BMC have scrambled console output in early boot phases
	  because the serial output routing is not set up fast enough by the BMC. By enabling
	  this a delay of 500ms gets added before setting up the console and before any console
	  output gets printed.

	  Note: this problem may disappear with future BMC firmware versions. Another approach
	  is using a different BMC firmware like OpenBMC, u-bmc, ...