aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/icelake/romstage/romstage.c
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2019-11-05 16:54:58 +0530
committerPatrick Georgi <pgeorgi@google.com>2019-11-07 14:14:11 +0000
commit1b1a26acdc814d0478bb5fda0b6664076a60fdf1 (patch)
tree50add962d32b07ff52ab40e166f2bf078fabd82f /src/soc/intel/icelake/romstage/romstage.c
parent114e2e88305a6e1fc972a58a03b89a23685e5a48 (diff)
soc/intel/icelake: Refactor pch_early_init() code
This patch keeps required pch_early_init() function like ABASE programming, GPE and RTC init into bootblock and moves remaining functions like TCO configuration and SMBUS init into romstage/pch.c in order to maintain only required chipset programming for bootblock and verstage. TEST=Able to build and boot ICL DE system. Change-Id: I4f0914242c3215f6bf76e41c468f544361a740d8 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36627 Reviewed-by: Aamir Bohra <aamir.bohra@intel.com> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Maulik V Vaghela <maulik.v.vaghela@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/icelake/romstage/romstage.c')
-rw-r--r--src/soc/intel/icelake/romstage/romstage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/icelake/romstage/romstage.c b/src/soc/intel/icelake/romstage/romstage.c
index 2c4ba67e04..7f1be731e8 100644
--- a/src/soc/intel/icelake/romstage/romstage.c
+++ b/src/soc/intel/icelake/romstage/romstage.c
@@ -116,6 +116,8 @@ void mainboard_romstage_entry(void)
/* Program MCHBAR, DMIBAR, GDXBAR and EDRAMBAR */
systemagent_early_init();
+ /* Program PCH init */
+ pch_init();
/* initialize Heci interface */
heci_init(HECI1_BASE_ADDRESS);