fsp_broadwell_de: Add SMM code

Hardware / Coreboot - Werner Zeh [siemens.com] - 28 April 2017 00:19 EDT

Add basic SMM support for Broadwell-DE SoC.

The code is mainly based on the SMM implementation of Broadwell with a few differences:- EMRR is now called PRMRR and the UNCORE part of it is not available- SMM_FEATURE_CONTROL is no longer a MSR but is now located in PCI space- currently only SERIRQ-SMI has a handler

Change-Id: I461a14d411aedefdb0cb54ae43b91103a80a4f6a

97c0979 fsp_broadwell_de: Add SMM code
src/soc/intel/fsp_broadwell_de/Kconfig | 10 +
src/soc/intel/fsp_broadwell_de/Makefile.inc | 6 +
src/soc/intel/fsp_broadwell_de/cpu.c | 34 ++-
.../fsp_broadwell_de/include/soc/broadwell_de.h | 6 +
src/soc/intel/fsp_broadwell_de/include/soc/lpc.h | 33 ++
src/soc/intel/fsp_broadwell_de/include/soc/msr.h | 28 +-
.../intel/fsp_broadwell_de/include/soc/pci_devs.h | 7 +
src/soc/intel/fsp_broadwell_de/include/soc/smm.h | 76 +++++
src/soc/intel/fsp_broadwell_de/pmutil.c | 173 +++++++++++
src/soc/intel/fsp_broadwell_de/smi.c | 87 ++++++
src/soc/intel/fsp_broadwell_de/smihandler.c | 112 +++++++
src/soc/intel/fsp_broadwell_de/smmrelocate.c | 337 +++++++++++++++++++++
12 files changed, 900 insertions(+), 9 deletions(-)

Upstream: review.coreboot.org


  • Share