HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/40689 )
Change subject: {icelake,jasperlake,skylake,tigerlake}/bootblock.c: Drop unused includes ......................................................................
{icelake,jasperlake,skylake,tigerlake}/bootblock.c: Drop unused includes
Change-Id: I06c8b2bf65283c3c1fcd25fdaae298b82fc0e09c Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/soc/intel/icelake/bootblock/bootblock.c M src/soc/intel/jasperlake/bootblock/bootblock.c M src/soc/intel/skylake/bootblock/bootblock.c M src/soc/intel/tigerlake/bootblock/bootblock.c 4 files changed, 2 insertions(+), 13 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/89/40689/1
diff --git a/src/soc/intel/icelake/bootblock/bootblock.c b/src/soc/intel/icelake/bootblock/bootblock.c index 6bf1e13..9aa6fb4 100644 --- a/src/soc/intel/icelake/bootblock/bootblock.c +++ b/src/soc/intel/icelake/bootblock/bootblock.c @@ -2,12 +2,8 @@ /* This file is part of the coreboot project. */
#include <bootblock_common.h> -#include <intelblocks/gspi.h> -#include <intelblocks/systemagent.h> #include <intelblocks/uart.h> #include <soc/bootblock.h> -#include <soc/iomap.h> -#include <soc/pch.h>
asmlinkage void bootblock_c_entry(uint64_t base_timestamp) { @@ -21,6 +17,7 @@ bootblock_pch_early_init(); bootblock_cpu_init(); pch_early_iorange_init(); + if (CONFIG(INTEL_LPSS_UART_FOR_CONSOLE)) uart_bootblock_init(); } diff --git a/src/soc/intel/jasperlake/bootblock/bootblock.c b/src/soc/intel/jasperlake/bootblock/bootblock.c index 6bf1e13..f7ec0e8 100644 --- a/src/soc/intel/jasperlake/bootblock/bootblock.c +++ b/src/soc/intel/jasperlake/bootblock/bootblock.c @@ -2,12 +2,8 @@ /* This file is part of the coreboot project. */
#include <bootblock_common.h> -#include <intelblocks/gspi.h> -#include <intelblocks/systemagent.h> #include <intelblocks/uart.h> #include <soc/bootblock.h> -#include <soc/iomap.h> -#include <soc/pch.h>
asmlinkage void bootblock_c_entry(uint64_t base_timestamp) { diff --git a/src/soc/intel/skylake/bootblock/bootblock.c b/src/soc/intel/skylake/bootblock/bootblock.c index 15f250d..2844571 100644 --- a/src/soc/intel/skylake/bootblock/bootblock.c +++ b/src/soc/intel/skylake/bootblock/bootblock.c @@ -2,7 +2,6 @@ /* This file is part of the coreboot project. */
#include <bootblock_common.h> -#include <drivers/i2c/designware/dw_i2c.h> #include <intelblocks/gspi.h> #include <intelblocks/uart.h> #include <soc/bootblock.h> diff --git a/src/soc/intel/tigerlake/bootblock/bootblock.c b/src/soc/intel/tigerlake/bootblock/bootblock.c index 6bf1e13..9aa6fb4 100644 --- a/src/soc/intel/tigerlake/bootblock/bootblock.c +++ b/src/soc/intel/tigerlake/bootblock/bootblock.c @@ -2,12 +2,8 @@ /* This file is part of the coreboot project. */
#include <bootblock_common.h> -#include <intelblocks/gspi.h> -#include <intelblocks/systemagent.h> #include <intelblocks/uart.h> #include <soc/bootblock.h> -#include <soc/iomap.h> -#include <soc/pch.h>
asmlinkage void bootblock_c_entry(uint64_t base_timestamp) { @@ -21,6 +17,7 @@ bootblock_pch_early_init(); bootblock_cpu_init(); pch_early_iorange_init(); + if (CONFIG(INTEL_LPSS_UART_FOR_CONSOLE)) uart_bootblock_init(); }