coreboot/src/drivers
Nikolai Vyssotski 175e4c59a0 drivers/intel/fsp2_0: Allow larger FSPS UPD than expected in coreboot
Enforcing the exact match of FSPS UPD block size between FSP and
coreboot mandates simultaneous updates to coreboot and FSP repos. Allow
coreboot to proceed if its UPD structure is smaller than FSP one. This
usually indicates that FSPS has an updated (larger) UPD structure which
should be soon matched/updated on the coreboot side to keep them in
sync.

While this is an undesirable situation that should be corrected
ASAP, it is safe from coreboot perspective. It is safe (as long as
default values in FSP UPD are sane enough to boot) because FSPS UPD
buffer is allocated on the heap with the size specified in FSPS
(larger) and filled with FSPS default values. This allows FSP UPD
changes to be submitted first followed by changes in coreboot repo.

Note that this only applies to the case when entire FSPS UPD structure
grows which should be rare as FSP should allocate enough reserve space,
anticipating future expansion, to keep the structure from growing when
new members are added.

BUG=b:171234996
BRANCH=Zork
TEST=build Trembyle

Change-Id: I557fd3a1f208b5b444ccf76e1552e74ecf4decad
Signed-off-by: Nikolai Vyssotski <nikolai.vyssotski@amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50576
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Martin Roth <martinroth@google.com>
2021-02-17 17:15:07 +00:00
..
amd cpu/x86: Rename __protected_start symbol 2021-01-28 08:53:30 +00:00
ams treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
analogix/anx7625 src/drivers: Drop unneeded empty lines 2020-09-21 15:51:52 +00:00
asmedia src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
aspeed drivers/aspeed: Fix some issues 2021-02-03 08:53:10 +00:00
broadcom src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
camera drivers/camera: Add config CHROMEOS_CAMERA 2020-10-19 06:50:20 +00:00
crb drivers/crb/tpm: Fix compilation on x86_64 2020-12-10 07:25:23 +00:00
elog drivers/elog: Correct code style 2021-01-28 09:18:00 +00:00
emulation/qemu drivers: Replace set_vbe_mode_info_valid 2020-12-17 06:21:56 +00:00
generic drivers/generic/bayhub_lv2: Add driver for BayHub lv2 2021-02-04 10:34:06 +00:00
genesyslogic drivers/genesyslogic/gl9763e: Add HS400ES compatibility settings 2021-01-12 04:52:16 +00:00
gfx/generic src/drivers: Remove unused <console/console.h> 2021-02-15 10:48:39 +00:00
gic treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
i2c drivers/i2c/tpm/cr50.c: Use __func__ 2021-01-19 08:58:00 +00:00
intel drivers/intel/fsp2_0: Allow larger FSPS UPD than expected in coreboot 2021-02-17 17:15:07 +00:00
ipmi ipmi/ocp: Move common OCP/Facebook IPMI OEM codes into drivers/ipmi/ocp 2021-02-01 08:47:48 +00:00
lenovo src: Remove unused 'include <types.h>' 2020-07-14 16:10:17 +00:00
maxim drivers/maxim/max77686/max77686.h: Remove repeated word 2021-01-18 07:39:21 +00:00
mrc_cache mrc_cache: Move code for triggering memory training into mrc_cache 2020-11-13 22:57:50 +00:00
net src/drivers: Drop unneeded empty lines 2020-09-21 15:51:52 +00:00
ocp/dmi drivers/ocp/dmi/Kconfig: Set FRU_DEVICE_ID depend on OCP_DMI 2021-01-18 07:50:46 +00:00
parade src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
pc80 cbfs: Introduce cbfs_ro_map() and cbfs_ro_load() 2020-12-03 00:00:19 +00:00
ricoh/rce822 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
secunet/dmi treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
siemens/nc_fpga src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
sil/3114 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smmstore src/drivers/smmstore: Fix SMMSTOREv1 clear command 2021-01-21 11:04:04 +00:00
soundwire acpi: Call acpi_fill_ssdt() only for enabled devices 2020-11-09 07:24:13 +00:00
spi src/drivers: Remove unused <console/console.h> 2021-02-15 10:48:39 +00:00
ti drivers/ti/sn65dsi86bridge: Add parentheses to Macros 2021-01-18 07:48:09 +00:00
tpm drivers/tpm/ppi_stub: Fix interface version 2020-12-21 02:38:28 +00:00
uart lib/trace: Remove TRACE support 2020-12-02 23:35:58 +00:00
usb drivers/usb/acpi: Add support for privacy_gpio 2020-11-09 07:40:52 +00:00
vpd drivers/vpd: Add support to read device serial from VPD 2021-01-04 23:12:58 +00:00
wifi/generic src/drivers: Remove unused <console/console.h> 2021-02-15 10:48:39 +00:00