summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2019-11-03 22:43:58 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-11-04 11:43:10 +0000
commitab0d687fc5ab7fb07e7c383c10902b586415c9bf (patch)
treedaf9fd4f6e81063acb382ef8407f5b26e73d908c
parent403b70adb912a8b26b329f986d636047228a3d45 (diff)
downloadcoreboot-ab0d687fc5ab7fb07e7c383c10902b586415c9bf.tar.xz
mb/supermicro/x11-lga1151-series: drop console guard in bootblock
To make debugging possible in a fallback setup, the serial console must be set up in bootblock, thus drop the guard. Change-Id: If0dd3c03ba52b4936eb234e6b2b61bb5ce044fcd Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36602 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/supermicro/x11-lga1151-series/bootblock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/supermicro/x11-lga1151-series/bootblock.c b/src/mainboard/supermicro/x11-lga1151-series/bootblock.c
index fe76512de1..75afd2ead1 100644
--- a/src/mainboard/supermicro/x11-lga1151-series/bootblock.c
+++ b/src/mainboard/supermicro/x11-lga1151-series/bootblock.c
@@ -32,8 +32,7 @@ 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))
- aspeed_enable_serial(serial_dev, CONFIG_TTYS0_BASE);
+ aspeed_enable_serial(serial_dev, CONFIG_TTYS0_BASE);
}
void bootblock_mainboard_early_init(void)