coreboot/src
Angel Pons 160e5a963d mb/prodrive/hermes: Make board settings less error-prone
First of all, make sure that `get_board_settings()` never returns NULL.
If there's a problem, return predefined values for board settings.

If the board settings definition differs between coreboot and the BMC,
the CRC will not match. Allow coreboot to use the BMC settings provided
by older BMC firmware revisions which have less settings, if the CRC of
the first N bytes matches the expected CRC.

TEST=Boot coreboot master with BMC FW R04.05, observe board settings
being honored even though coreboot's definition has an extra option.

Change-Id: I0f009b21ef0850a2af6edef1818c770171358314
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67381
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2022-10-11 14:43:45 +00:00
..
acpi treewide: use is_enabled_cpu() on cycles over device list 2022-09-29 16:47:04 +00:00
arch smbios: Add API to generate SMBIOS type 28 Temperature Probe 2022-10-06 18:36:03 +00:00
commonlib commonlib/fsp_relocate: add PE32 section support 2022-09-24 01:19:13 +00:00
console console/vtxprintf.c: Add <stdarg.h> 2022-10-06 17:00:25 +00:00
cpu cpu/x86/pae/pgtbl.c: Clean up includes and add <types.h> 2022-10-06 17:00:57 +00:00
device include/device/device_util.c: add predicates for pci devices 2022-10-06 18:30:14 +00:00
drivers drivers/generic/cbfs-uuid: Add driver to include UUID from CBFS 2022-10-11 08:36:06 +00:00
ec ec/starlabs/merlin: Add EC related files for Alder Lake boards 2022-10-07 22:09:59 +00:00
include smbios: Add API to generate SMBIOS type 28 Temperature Probe 2022-10-06 18:36:03 +00:00
lib lib/prog_loaders.c: Clean up includes 2022-10-06 18:13:30 +00:00
mainboard mb/prodrive/hermes: Make board settings less error-prone 2022-10-11 14:43:45 +00:00
northbridge nb/intel/i945/raminit.c: Fix formatted print 2022-10-10 21:52:16 +00:00
sbom Add SBOM (Software Bill of Materials) Generation 2022-08-22 14:48:46 +00:00
security security/memory/memory.h: Add <stdbool.h> 2022-10-06 17:01:52 +00:00
soc soc/amd/common: Remove buildtime error for unknown cpu 2022-10-10 21:50:20 +00:00
southbridge treewide: use predicates to check for enabled pci devices 2022-10-06 18:32:21 +00:00
superio superio/ite/common/early_serial.c: ite_kill_watchdog: set timeout to 0 2022-08-07 19:54:43 +00:00
vendorcode vc/amd/fsp: Add Morgana FSP vendorcode 2022-10-08 20:58:58 +00:00
Kconfig coreboot: Add support for include-what-you-use 2022-10-11 14:33:28 +00:00