coreboot/src/include
Patrick Rudolph bd1fdc6e84 nb/intel/sandybridge/raminit: Add XMP support
Some vendors store lower frequency profiles in the regular SPD,
if the SPD contains a XMP profile. To make use of the board's and DIMM's
maximum supported DRAM frequency, try to parse the XMP profile and
use it instead.

Validate the XMP profile to make sure that the installed DIMM count
per channel is supported and the requested voltage is supported.

To reduce complexity only XMP Profile 1 is read.

Allows my DRAM to run at 800Mhz instead of 666Mhz as encoded in the
default SPD.

Test system:
 * Gigabyte GA-B75M-D3H
 * Intel Pentium CPU G2130

Change-Id: Ib4dd68debfdcfdce138e813ad5b0e8e2ce3a40b2
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/13486
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins)
2016-02-20 05:11:37 +01:00
..
boot lib/coreboot_table: add function to allow arch code to add records 2016-02-19 19:21:15 +01:00
console header files: Fix guard name comments to match guard names 2016-01-18 04:07:53 +01:00
cpu cpu/intel/microcode: allow microcode to be loaded in romstage 2016-02-10 18:08:28 +01:00
device nb/intel/sandybridge/raminit: Add XMP support 2016-02-20 05:11:37 +01:00
pc80 drivers/pc80: Add PS/2 mouse presence detect 2016-02-01 22:10:46 +01:00
smp atomic.h: Fix doxygen errors 2015-01-04 20:03:28 +01:00
superio tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
sys commonlib: Prepare code to be included in cbfstool builds. 2016-01-06 01:11:32 +01:00
tpm_lite vboot2: read secdata and nvdata 2015-03-23 19:51:47 +01:00
antirollback.h chromeos: vboot2: Add TPM PCR extension support 2015-04-20 17:06:28 +02:00
assert.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
b64_decode.h lib: add base64 decoder 2015-04-22 08:50:54 +02:00
base3.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
bcd.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
boardid.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
boot_device.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
bootblock_common.h arches: lib: add main_decl.h for main() declaration 2016-02-11 23:29:08 +01:00
bootmem.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
bootmode.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
bootstate.h lib: Add Kconfig to toggle boot state debugging 2016-02-18 00:01:14 +01:00
cbfs.h commonlib: Add common cbfs parsing logic to coreboot and cbfstool. 2016-01-06 01:11:19 +01:00
cbmem.h cbmem: add coreboot table records for each cbmem entry 2015-11-03 00:19:46 +01:00
delay.h timer: Reestablish init_timer(), consolidate timer initialization calls 2015-04-14 09:03:28 +02:00
edid.h edid: add hdmi_monitor_detected in data struct edid 2015-11-10 14:09:51 +01:00
elog.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
endian.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
fallback.h cbfs: new API and better program loading 2015-06-02 14:09:31 +02:00
fmap.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
gic.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
gpio.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
halt.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
imd.h cbmem: add coreboot table records for each cbmem entry 2015-11-03 00:19:46 +01:00
inttypes.h x86: provide more C standard environment 2013-03-20 04:20:25 +01:00
ip_checksum.h Drop prototype guarding for romcc 2013-05-10 00:06:46 +02:00
kconfig.h Add config_enabled() from Linux 2012-05-08 00:36:09 +02:00
lib.h lzma: Port size-checking ulzman() version to coreboot 2016-02-12 22:00:55 +01:00
main_decl.h arches: lib: add main_decl.h for main() declaration 2016-02-11 23:29:08 +01:00
memlayout.h Move object files to $(obj)/<class>/ 2016-01-28 00:31:32 +01:00
memory_info.h smbios: add funtion for smbios type17 2015-03-27 09:55:21 +01:00
memrange.h lib/memrange: allow stack allocated free list 2016-01-23 18:25:26 +01:00
nhlt.h nhlt: add api to override oem_id and oem_table_id of acpi_header_t 2016-02-09 13:21:39 +01:00
option.h option: Add arch-agnostic get_option() 2014-03-04 15:23:10 +01:00
program_loading.h lib: remove assets infrastructure 2015-12-10 04:44:09 +01:00
reg_script.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
reset.h vboot2: implement select_firmware for pre-romstage verification 2015-01-27 01:43:01 +01:00
rmodule.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
romstage_handoff.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
rtc.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
rules.h rules.h: Add ENV_STRING and use it in console_init() 2015-11-20 18:44:20 +01:00
sdram_mode.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
smbios.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
spd.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
spd_cache.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
spd_ddr2.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
spi-generic.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
spi_flash.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
stage_cache.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
stddef.h Provide a gcc-safe zero pointer 2016-01-28 23:25:53 +01:00
stdlib.h coreboot: introduce commonlib 2015-09-22 21:21:34 +00:00
string.h lib: Fix strncmp 2015-12-16 01:14:22 +01:00
swab.h include: Fix spelling 2013-07-11 22:36:19 +02:00
symbols.h timestamp: Remove HAS_PRECBMEM_TIMESTAMP_REGION Kconfig 2016-02-12 21:54:52 +01:00
thread.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
timer.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
timestamp.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
tpm.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
trace.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
types.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
vbe.h intel/gma: Clarify code and use dedicated init for Google Peppy 2014-08-25 22:36:03 +02:00
version.h build.h: remove variable for the builduser, -hostname and -domain 2015-03-09 17:53:16 +01:00
watchdog.h watchdog.h: Fix compile time error on disabling watchdog handling 2013-03-12 12:06:43 +01:00
wrdd.h lib: Implement framework for retrieving WiFi regulatory domain 2016-01-22 16:12:17 +01:00