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 <rizwan.qureshi@intel.com>
Reviewed-on: https://review.coreboot.org/16224
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
Rizwan Qureshi 2016-08-15 20:43:58 +05:30 committed by Martin Roth
parent 9cc8cb2090
commit 0bb62294ac
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}