From 0bb62294ac1e792646cae28b73b2072ea8b389ee Mon Sep 17 00:00:00 2001 From: Rizwan Qureshi Date: Mon, 15 Aug 2016 20:43:58 +0530 Subject: soc/intel/skylake: restore MCHBAR and DMIBAR programming Program MCHBAR, DMIBAR, EPBAR, EDRAMBAR and GDXCBAR. Also program the PAM registers. The system agent was being programmed in romstage during pre-console initialization, after moving to C_ENVIRONMENT bootblock this was missing, restoring the same. TEST=Build and Boot Kunimitsu Change-Id: Iaf310cfb83e58eb8d5affb481dfc343f5d45961b Signed-off-by: Rizwan Qureshi Reviewed-on: https://review.coreboot.org/16224 Reviewed-by: Duncan Laurie Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/soc/intel/skylake/romstage/romstage.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc/intel/skylake/romstage') diff --git a/src/soc/intel/skylake/romstage/romstage.c b/src/soc/intel/skylake/romstage/romstage.c index 56a5a92255..fda60875f2 100644 --- a/src/soc/intel/skylake/romstage/romstage.c +++ b/src/soc/intel/skylake/romstage/romstage.c @@ -45,6 +45,9 @@ /* SOC initialization before RAM is enabled */ void soc_pre_ram_init(struct romstage_params *params) { + /* Program MCHBAR and DMIBAR */ + systemagent_early_init(); + /* Prepare to initialize memory */ soc_fill_pei_data(params->pei_data); } -- cgit v1.2.3