coreboot-kgpe-d16/src/soc/intel/common
Lee Leahy ae738acdc5 cpu/x86: Support CPUs without rdmsr/wrmsr instructions
Quark does not support the rdmsr and wrmsr instructions.  In this case
use a SOC specific routine to support the setting of the MTRRs.  Migrate
the code from FSP 1.1 to be x86 CPU common.

Since all rdmsr/wrmsr accesses are being converted, fix the build
failure for quark in lib/reg_script.c.  Move the soc_msr_x routines and
their depencies from romstage/mtrr.c to reg_access.c.

TEST=Build and run on Galileo Gen2

Change-Id: Ibc68e696d8066fbe2322f446d8c983d3f86052ea
Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Reviewed-on: https://review.coreboot.org/15839
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-07-27 13:50:11 +02:00
..
acpi soc/intel/common/acpi: Add _PTS, _WAK methods 2016-06-22 17:26:15 +02:00
acpi.h soc/intel/common: Add common code for acpi c/p/t-state entries 2016-06-08 22:30:58 +02:00
acpi_wake_source.c
gma.h soc/intel/common: Add IGD OpRegion support 2016-05-18 07:03:13 +02:00
hda_verb.c
hda_verb.h
Kconfig cpu/x86: Support CPUs without rdmsr/wrmsr instructions 2016-07-27 13:50:11 +02:00
lpss_i2c.c skylake: Generate ACPI timing values for I2C devices 2016-07-01 18:51:51 +02:00
lpss_i2c.h skylake: Generate ACPI timing values for I2C devices 2016-07-01 18:51:51 +02:00
Makefile.inc soc/intel/{common,skylake}: provide common NHLT SoC support 2016-06-29 23:15:48 +02:00
mma.c intel/common/mma: override SAGV to fixed high for MMA tests 2016-05-10 22:59:58 +02:00
mma.h tree: drop last paragraph of GPL copyright header from new files 2016-01-13 20:35:40 +01:00
mrc_cache.c soc/intel/common/mrc_cache: Don't assume FMAP is tied to CHROMEOS 2016-05-12 04:53:38 +02:00
mrc_cache.h soc/intel/common/mrc_cache: Honor MRC data as a constant pointer 2016-05-04 20:07:26 +02:00
nhlt.c soc/intel/common: use nvs.h include for nhlt code 2016-07-01 03:20:58 +02:00
nvm.c src/soc/intel/common: Fix CID 1295499, remove dead code 2016-04-13 07:00:27 +02:00
nvm.h soc/intel/common/nvm: Allow overriding to_flash_offset() function 2016-04-08 18:10:58 +02:00
opregion.c soc/intel/common: Add IGD OpRegion support 2016-05-18 07:03:13 +02:00
opregion.h soc/intel/common: Add IGD OpRegion support 2016-05-18 07:03:13 +02:00
reset.c soc/intel/common: Add reset_prepare() for common reset 2016-07-19 20:20:13 +02:00
smi.h soc/intel/common: Add common smihandler code 2016-05-25 19:09:00 +02:00
smihandler.c soc/intel/common: use common Intel ACPI hardware definitions 2016-07-15 08:31:44 +02:00
util.c cpu/x86: Support CPUs without rdmsr/wrmsr instructions 2016-07-27 13:50:11 +02:00
util.h cpu/x86: Support CPUs without rdmsr/wrmsr instructions 2016-07-27 13:50:11 +02:00
vbt.c soc/intel/common: Add utility to load VBT file 2016-05-18 07:02:43 +02:00
vbt.h soc/intel/common: Add utility to load VBT file 2016-05-18 07:02:43 +02:00