soc/intel/skylake: Move `gspi_early_bar_init()` call

For consistency with newer platforms, do this in pch.c instead.

Change-Id: Ie7a1d3e106553388df55044be91c7837061c42da
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50954
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Angel Pons 2021-02-19 23:23:19 +01:00
parent 5d98dabb4e
commit 4778590d15
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,6 @@
#include <bootblock_common.h>
#include <intelblocks/fast_spi.h>
#include <intelblocks/gspi.h>
#include <intelblocks/systemagent.h>
#include <intelblocks/tco.h>
#include <intelblocks/uart.h>
@ -34,7 +33,6 @@ void bootblock_soc_init(void)
*/
report_platform_info();
bootblock_pch_init();
gspi_early_bar_init();
/* Program TCO_BASE_ADDRESS and TCO Timer Halt */
tco_configure();

View File

@ -5,6 +5,7 @@
#include <intelblocks/cse.h>
#include <intelblocks/dmi.h>
#include <intelblocks/fast_spi.h>
#include <intelblocks/gspi.h>
#include <intelblocks/itss.h>
#include <intelblocks/lpc_lib.h>
#include <intelblocks/p2sb.h>
@ -142,4 +143,6 @@ void bootblock_pch_init(void)
/* initialize Heci interface */
heci_init(HECI1_BASE_ADDRESS);
gspi_early_bar_init();
}