coreboot/src/soc/intel/broadwell
Matt DeVillier 9aaf59aa6d soc/intel/broadwell: decouple PEI memory struct from coreboot header
Recent changes to field lengths in include/memory_info.h resulted in
a mismatch between the memory_info struct the MRC blob writes to and
the struct used by coreboot to parse out data for the SMBIOS tables.
This mismatch caused type 17 SMBIOS tables to be filled incorrectly.

The solution used here is to define the memory_info struct as expected
by MRC in the pei_data header, and manually copy the data field by field
into the coreboot memory_info struct, observing the more restrictive
lengths for the two structs.

Test: build/boot google/lulu, verify SMBIOS type 17 tables correctly
populated.

Change-Id: I932b7b41ae1e3fd364d056a8c91f7ed5d25dbafc
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/26598
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2018-05-31 15:28:12 +00:00
..
acpi soc/intel/broadwell: add support for Intel GMA OpRegion 2018-03-15 14:15:29 +00:00
bootblock soc/intel: Unify timestamp.inc 2017-04-25 18:47:35 +02:00
include/soc soc/intel/broadwell: decouple PEI memory struct from coreboot header 2018-05-31 15:28:12 +00:00
romstage soc/intel/broadwell: decouple PEI memory struct from coreboot header 2018-05-31 15:28:12 +00:00
acpi.c pci: Move inline PCI functions to pci_ops.h 2018-04-20 13:03:54 +00:00
adsp.c
chip.c {mb,nb,soc}: Remove references to pci_bus_default_ops() 2018-05-08 03:01:04 +00:00
chip.h Broadwell/Sata: Add support for setting IOBP registers for Ports 2 and 3. 2017-02-22 22:24:50 +01:00
cpu.c Constify struct cpu_device_id instances 2017-11-23 05:00:17 +00:00
cpu_info.c
ehci.c soc/intel/broadwell: Add int to unsigned 2017-03-17 18:03:59 +01:00
elog.c
finalize.c
gpio.c soc/intel/broadwell: Add int to unsigned 2017-03-17 18:03:59 +01:00
hda.c
igd.c soc/intel/broadwell: add support for Intel GMA OpRegion 2018-03-15 14:15:29 +00:00
iobp.c soc/intel/broadwell: Add int to unsigned 2017-03-17 18:03:59 +01:00
Kconfig intel/broadwell: Add option to enable/disable the PCIe AER capability 2018-05-08 02:59:23 +00:00
lpc.c soc/intel/broadwell: Enable VT-d and X2APIC 2018-03-01 16:10:15 +00:00
Makefile.inc cpu/intel/common: Add/Use common function to set virtualization 2016-12-27 02:30:08 +01:00
me.c soc/intel: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:54:32 +00:00
me_status.c
memmap.c
minihd.c
monotonic_timer.c
pch.c
pcie.c intel/broadwell: Add option to enable/disable the PCIe AER capability 2018-05-08 02:59:23 +00:00
pei_data.c
pmutil.c security/vboot: Move vboot2 to security kconfig section 2017-10-22 02:14:46 +00:00
ramstage.c
refcode.c soc/intel/broadwell: Fix {}, () and conditional issues 2017-03-17 19:21:35 +01:00
reset.c Consolidate reset API, add generic reset_prepare mechanism 2017-06-13 20:53:09 +02:00
sata.c intel/broadwell: Use the correct SATA port config for setting IOBP register 2017-03-02 09:21:55 +01:00
serialio.c soc/intel: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:54:32 +00:00
smbus.c
smbus_common.c smbus: Fix a typo ("Set the device I'm talking too") 2017-09-27 16:38:18 +00:00
smi.c
smihandler.c soc/intel: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:54:32 +00:00
smmrelocate.c soc/intel/broadwell: Fix other issues detected by checkpatch 2017-03-17 19:21:53 +01:00
spi.c drivers/spi: reduce confusion in the API 2018-04-23 20:58:58 +00:00
stage_cache.c
systemagent.c soc/intel/broadwell: Enable VT-d and X2APIC 2018-03-01 16:10:15 +00:00
tsc_freq.c
usb_debug.c usbdebug: Refactor early enable 2017-08-07 12:35:42 +00:00
xhci.c