diff options
author | Angel Pons <th3fanbus@gmail.com> | 2022-09-06 20:25:56 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-10-11 14:43:45 +0000 |
commit | 160e5a963dd5c93c71e956ff90d06db472416da6 (patch) | |
tree | ff8bc2703010af70b93ae8ed0c052a4b55b94cf5 /util/amdfwtool/Makefile.inc | |
parent | 716bd48a53e826645e39960c379dd0d6b55d500e (diff) |
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>
Diffstat (limited to 'util/amdfwtool/Makefile.inc')
0 files changed, 0 insertions, 0 deletions