coreboot/src/drivers
Lee Leahy abc216822d UPSTREAM: 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

BUG=None
BRANCH=None

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>

Change-Id: Ibc68e696d8066fbe2322f446d8c983d3f86052ea
Reviewed-on: https://chromium-review.googlesource.com/363935
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
2016-07-28 22:56:04 -07:00
..
ams drivers/ams: Set default values in Kconfig 2015-11-22 01:39:44 +01:00
aspeed UPSTREAM: Fix leaking CONFIG_VGA=y 2016-06-01 20:36:48 -07:00
ati/ragexl drivers/ati: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:37:20 +02:00
dec/21143 kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:18 +02:00
elog UPSTREAM: drivers/elog: put back 4KiB limit 2016-07-26 15:16:35 -07:00
emulation/qemu drivers/emulation: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:37:08 +02:00
generic UPSTREAM: acpi: Change device properties to work as a tree 2016-07-09 01:39:55 -07:00
gic arm64: Remove cpu intialization through device-tree 2015-11-07 03:29:35 +01:00
i2c UPSTREAM: drivers/i2c: Add new driver for RTC type PCF8523 2016-07-15 08:39:12 -07:00
ics/954309 drivers/ics: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:43 +02:00
intel UPSTREAM: cpu/x86: Support CPUs without rdmsr/wrmsr instructions 2016-07-28 22:56:04 -07:00
ipmi tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
lenovo UPSTREAM: drivers/lenovo: Add hybrid graphics driver 2016-06-02 14:06:29 -07:00
maxim drivers/aspeed: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:17 +02:00
net UPSTREAM: drivers/net/r8168: Add driver for realtek nic 2016-06-01 20:36:56 -07:00
parade parade/ps8640: Initialize edid_size 2016-05-08 08:11:26 +02:00
pc80 rtc: Do checksum check for all bytes 2016-05-06 19:03:41 +02:00
ricoh/rce822 drivers/ricoh: Fully switch to src/drivers/[X]/[Y]/ scheme 2016-04-22 20:11:52 +02:00
siemens/nc_fpga UPSTREAM: siemens/nc_fpga: Add driver for Siemens NC FPGA 2016-07-07 01:09:51 -07:00
sil/3114 drivers/sil: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:05 +02:00
spi tpm: use 4 byte quantities when retrieving firmware version 2016-06-28 02:18:40 -07:00
ti drivers/ti: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:36 +02:00
uart UPSTREAM: drivers/uart: Enable debug serial output during postcar 2016-07-26 12:27:00 -07:00
usb tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
xgi UPSTREAM: Fix leaking CONFIG_VGA=y 2016-06-01 20:36:48 -07:00
xpowers/axp209 drivers/xpowers: Switch to src/drivers/[X]/[Y]/ scheme 2016-05-04 22:14:44 +02:00