| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
# Generic Aspeed preram driver - Just enough UART initialisation code for |
| 4 |
# preram phase. |
| 5 |
config SUPERIO_ASPEED_COMMON_PRE_RAM |
| 6 |
bool |
| 7 |
default n |
| 8 |
|
| 9 |
config SUPERIO_ASPEED_HAS_UART_DELAY_WORKAROUND |
| 10 |
bool |
| 11 |
default n |
| 12 |
|
| 13 |
config SUPERIO_ASPEED_USE_UART_DELAY_WORKAROUND |
| 14 |
bool "Workaround for BMC serial console setup bug" |
| 15 |
depends on CONSOLE_SERIAL && SUPERIO_ASPEED_HAS_UART_DELAY_WORKAROUND |
| 16 |
default y |
| 17 |
help |
| 18 |
Some mainboards with an ASPEED BMC have scrambled console output in early boot phases |
| 19 |
because the serial output routing is not set up fast enough by the BMC. By enabling |
| 20 |
this a delay of 500ms gets added before setting up the console and before any console |
| 21 |
output gets printed. |
| 22 |
|
| 23 |
Note: this problem may disappear with future BMC firmware versions. Another approach |
| 24 |
is using a different BMC firmware like OpenBMC, u-bmc, ... |