From 2b297d92a78373358c0a0e304a8e41098e2da795 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Sun, 24 Nov 2019 17:36:38 -0600 Subject: mb/samsung: remove header guards for SuperIO MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SuperIO header needs to be included regardless of Kconfig option, otherwise compilation fails due to missing prototype for try_enabling_LPC47N207_uart() if DRIVERS_UART_8250IO is not set. Change-Id: I0eda4aee2cbb114bde33e862940a64675469693d Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/37183 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki Reviewed-by: Nico Huber Reviewed-by: Angel Pons --- src/mainboard/samsung/lumpy/early_init.c | 4 +--- src/mainboard/samsung/stumpy/early_init.c | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'src/mainboard/samsung') diff --git a/src/mainboard/samsung/lumpy/early_init.c b/src/mainboard/samsung/lumpy/early_init.c index af4e55dc22..28cd5c336e 100644 --- a/src/mainboard/samsung/lumpy/early_init.c +++ b/src/mainboard/samsung/lumpy/early_init.c @@ -29,10 +29,8 @@ #include #include #include -#include "option_table.h" -#if CONFIG(DRIVERS_UART_8250IO) #include -#endif +#include "option_table.h" void bootblock_mainboard_early_init(void) { diff --git a/src/mainboard/samsung/stumpy/early_init.c b/src/mainboard/samsung/stumpy/early_init.c index 7fca8adfcc..157fdf18e4 100644 --- a/src/mainboard/samsung/stumpy/early_init.c +++ b/src/mainboard/samsung/stumpy/early_init.c @@ -29,9 +29,7 @@ #include #include #include -#if CONFIG(DRIVERS_UART_8250IO) #include -#endif /* Stumpy USB Reset Disable defined in cmos.layout */ #if CONFIG(USE_OPTION_TABLE) -- cgit v1.2.3