summaryrefslogtreecommitdiffstats
path: root/src/mainboard/supermicro/x11-lga1151-series/bootblock.c
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2019-11-03 00:55:06 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-11-04 11:42:42 +0000
commit403b70adb912a8b26b329f986d636047228a3d45 (patch)
treeaaae8e2535504f607448643e3a7875c9291b508e /src/mainboard/supermicro/x11-lga1151-series/bootblock.c
parent4d877c8c7f29785c6860a98b81e48981d0d34aa9 (diff)
downloadcoreboot-403b70adb912a8b26b329f986d636047228a3d45.tar.gz
coreboot-403b70adb912a8b26b329f986d636047228a3d45.tar.bz2
coreboot-403b70adb912a8b26b329f986d636047228a3d45.zip
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>
Diffstat (limited to 'src/mainboard/supermicro/x11-lga1151-series/bootblock.c')
-rw-r--r--src/mainboard/supermicro/x11-lga1151-series/bootblock.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mainboard/supermicro/x11-lga1151-series/bootblock.c b/src/mainboard/supermicro/x11-lga1151-series/bootblock.c
index 27653f5ae036..fe76512de1bb 100644
--- a/src/mainboard/supermicro/x11-lga1151-series/bootblock.c
+++ b/src/mainboard/supermicro/x11-lga1151-series/bootblock.c
@@ -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)